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.
68 69 70 |
# File 'docs/taglib/aiff.rb', line 68 def bits_per_sample @bits_per_sample end |
#compression_name ⇒ String (readonly)
If the file is in AIFF format, always returns an empty string.
86 87 88 |
# File 'docs/taglib/aiff.rb', line 86 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.
80 81 82 |
# File 'docs/taglib/aiff.rb', line 80 def compression_type @compression_type end |
#sample_frames ⇒ Integer (readonly)
Returns Number of sample frames.
73 74 75 |
# File 'docs/taglib/aiff.rb', line 73 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.
91 92 |
# File 'docs/taglib/aiff.rb', line 91 def aiff_c? end |