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.
148 149 |
# File 'docs/taglib/mpeg.rb', line 148 def channel_mode end |
#copyrighted? ⇒ true
Returns if copyrighted bit is set.
152 153 |
# File 'docs/taglib/mpeg.rb', line 152 def copyrighted? end |
#layer ⇒ Integer
Returns MPEG layer (1-3).
139 140 |
# File 'docs/taglib/mpeg.rb', line 139 def layer end |
#original? ⇒ true
Returns if original bit is set.
156 157 |
# File 'docs/taglib/mpeg.rb', line 156 def original? end |
#protection_enabled ⇒ true
Returns if MPEG protection bit is set.
143 144 |
# File 'docs/taglib/mpeg.rb', line 143 def protection_enabled end |
#version ⇒ TagLib::MPEG::Header constant
Returns MPEG version, e.g. Header::Version1.
135 136 |
# File 'docs/taglib/mpeg.rb', line 135 def version end |
#xing_header ⇒ TagLib::MPEG::XingHeader?
130 131 |
# File 'docs/taglib/mpeg.rb', line 130 def xing_header end |