Class: TagLib::MPEG::Properties
- Inherits:
-
AudioProperties
- Object
- AudioProperties
- TagLib::MPEG::Properties
- Defined in:
- docs/taglib/mpeg.rb
Overview
Audio properties for MPEG files.
Constant Summary
Constants inherited from AudioProperties
AudioProperties::Accurate, AudioProperties::Average, AudioProperties::Fast
Instance Attribute Summary
Attributes inherited from AudioProperties
#bitrate, #channels, #length_in_milliseconds, #length_in_seconds, #sample_rate
Instance Method Summary collapse
-
#channel_mode ⇒ TagLib::MPEG::Header constant
Channel mode, e.g.
-
#copyrighted? ⇒ true
If copyrighted bit is set.
-
#layer ⇒ Integer
MPEG layer (1-3).
-
#original? ⇒ true
If original bit is set.
-
#protection_enabled ⇒ true
If MPEG protection bit is set.
-
#version ⇒ TagLib::MPEG::Header constant
MPEG version, e.g.
- #xing_header ⇒ TagLib::MPEG::XingHeader?
Instance Method Details
#channel_mode ⇒ TagLib::MPEG::Header constant
Returns channel mode, e.g. Header::JointStereo.
140 141 |
# File 'docs/taglib/mpeg.rb', line 140 def channel_mode end |
#copyrighted? ⇒ true
Returns if copyrighted bit is set.
144 145 |
# File 'docs/taglib/mpeg.rb', line 144 def copyrighted? end |
#layer ⇒ Integer
Returns MPEG layer (1-3).
131 132 |
# File 'docs/taglib/mpeg.rb', line 131 def layer end |
#original? ⇒ true
Returns if original bit is set.
148 149 |
# File 'docs/taglib/mpeg.rb', line 148 def original? end |
#protection_enabled ⇒ true
Returns if MPEG protection bit is set.
135 136 |
# File 'docs/taglib/mpeg.rb', line 135 def protection_enabled end |
#version ⇒ TagLib::MPEG::Header constant
Returns MPEG version, e.g. Header::Version1.
127 128 |
# File 'docs/taglib/mpeg.rb', line 127 def version end |
#xing_header ⇒ TagLib::MPEG::XingHeader?
122 123 |
# File 'docs/taglib/mpeg.rb', line 122 def xing_header end |