Class: TagLib::ID3v2::PeakVolume

Inherits:
Object
  • Object
show all
Defined in:
docs/taglib/id3v2.rb

Overview

Peak volume used for RelativeVolumeFrame. The two attributes of this class must always read/written together, as they are used to describe one concept, the peak volume number.

Note that due to how SWIG works, this is not a nested class of RelativeVolumeFrame as in taglib. That doesn't affect its usage though.

Instance Attribute Summary collapse

Instance Attribute Details

#bits_representing_peakInteger

Returns the number of bits of the #peak_volume that represent the peak volume (0 to 255).

Returns:

  • (Integer)

    the number of bits of the #peak_volume that represent the peak volume (0 to 255)



405
406
407
# File 'docs/taglib/id3v2.rb', line 405

def bits_representing_peak
  @bits_representing_peak
end

#peak_volumebinary String

Returns the (byte-padded) bits used for the peak volume.

Returns:

  • (binary String)

    the (byte-padded) bits used for the peak volume



409
410
411
# File 'docs/taglib/id3v2.rb', line 409

def peak_volume
  @peak_volume
end