Class: TagLib::ID3v2::PeakVolume
- Inherits:
-
Object
- Object
- TagLib::ID3v2::PeakVolume
- 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
-
#bits_representing_peak ⇒ Integer
The number of bits of the #peak_volume that represent the peak volume (0 to 255).
-
#peak_volume ⇒ binary String
The (byte-padded) bits used for the peak volume.
Instance Attribute Details
#bits_representing_peak ⇒ Integer
Returns 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_volume ⇒ binary String
Returns 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 |