Class: TagLib::MP4::Properties
- Inherits:
-
AudioProperties
- Object
- AudioProperties
- TagLib::MP4::Properties
- Defined in:
- docs/taglib/mp4.rb
Constant Summary collapse
- Unknown =
0
- AAC =
1
- ALAC =
2
Constants inherited from AudioProperties
AudioProperties::Accurate, AudioProperties::Average, AudioProperties::Fast
Instance Attribute Summary collapse
-
#bits_per_sample ⇒ Integer
readonly
The number of bits per audio sample.
-
#codec ⇒ Integer
readonly
The codec used in the file.
-
#encrypted? ⇒ Boolean
readonly
Whether or not the file is encrypted.
Attributes inherited from AudioProperties
#bitrate, #channels, #length_in_milliseconds, #length_in_seconds, #sample_rate
Instance Attribute Details
#bits_per_sample ⇒ Integer (readonly)
Returns The number of bits per audio sample.
339 340 341 |
# File 'docs/taglib/mp4.rb', line 339 def bits_per_sample @bits_per_sample end |
#codec ⇒ Integer (readonly)
Returns The codec used in the file.
347 348 349 |
# File 'docs/taglib/mp4.rb', line 347 def codec @codec end |
#encrypted? ⇒ Boolean (readonly)
Returns Whether or not the file is encrypted.
342 343 344 |
# File 'docs/taglib/mp4.rb', line 342
def encrypted?
@encrypted?
end
|