Class: TagLib::RIFF::AIFF::Properties
- Inherits:
-
AudioProperties
- Object
- AudioProperties
- TagLib::RIFF::AIFF::Properties
- Defined in:
- docs/taglib/aiff.rb
Overview
Constant Summary
Constants inherited from AudioProperties
AudioProperties::Accurate, AudioProperties::Average, AudioProperties::Fast
Instance Attribute Summary collapse
-
#bits_per_sample ⇒ Integer
readonly
Number of bits per audio sample.
-
#compression_name ⇒ String
readonly
If the file is in AIFF format, always returns an empty string.
-
#compression_type ⇒ String
readonly
For example, "NONE" for not compressed, "ACE2" for ACE 2-to-1.
-
#sample_frames ⇒ Integer
readonly
Number of sample frames.
Attributes inherited from AudioProperties
#bitrate, #channels, #length_in_milliseconds, #length_in_seconds, #sample_rate
Instance Method Summary collapse
-
#aiff_c? ⇒ Boolean
True if the file is in AIFF-C format, false if AIFF format.
Instance Attribute Details
#bits_per_sample ⇒ Integer (readonly)
Returns Number of bits per audio sample.
66 67 68 |
# File 'docs/taglib/aiff.rb', line 66 def bits_per_sample @bits_per_sample end |
#compression_name ⇒ String (readonly)
If the file is in AIFF format, always returns an empty string.
84 85 86 |
# File 'docs/taglib/aiff.rb', line 84 def compression_name @compression_name end |
#compression_type ⇒ String (readonly)
For example, "NONE" for not compressed, "ACE2" for ACE 2-to-1. If the file is in AIFF format, always returns an empty string.
78 79 80 |
# File 'docs/taglib/aiff.rb', line 78 def compression_type @compression_type end |
#sample_frames ⇒ Integer (readonly)
Returns Number of sample frames.
71 72 73 |
# File 'docs/taglib/aiff.rb', line 71 def sample_frames @sample_frames end |
Instance Method Details
#aiff_c? ⇒ Boolean
Returns True if the file is in AIFF-C format, false if AIFF format.
89 90 |
# File 'docs/taglib/aiff.rb', line 89 def aiff_c? end |