Class: TagLib::FLAC::Properties
- Inherits:
-
AudioProperties
- Object
- AudioProperties
- TagLib::FLAC::Properties
- Defined in:
- lib/TagLib_doc.rb
Overview
An implementation of audio property reading for FLAC. .</b>
This reads the data from an FLAC stream found in the AudioProperties API.
Instance Method Summary collapse
-
#bitrate ⇒ Object
Returns the most appropriate bit rate for the file in kb/s.
-
#channels ⇒ Object
Returns the number of audio channels.
-
#length ⇒ Object
Returns the length of the file in seconds.
-
#sampleRate ⇒ Object
Returns the sample rate in Hz.
-
#sampleWidth ⇒ Object
Returns the sample width as read from the FLAC identification header.
Instance Method Details
#bitrate ⇒ Object
Returns the most appropriate bit rate for the file in kb/s. For constant bitrate formats this is simply the bitrate of the file. For variable bitrate formats this is either the average or nominal bitrate.
2183 2184 |
# File 'lib/TagLib_doc.rb', line 2183 def bitrate() end |
#channels ⇒ Object
Returns the number of audio channels.
2168 2169 |
# File 'lib/TagLib_doc.rb', line 2168 def channels() end |
#length ⇒ Object
Returns the length of the file in seconds.
2178 2179 |
# File 'lib/TagLib_doc.rb', line 2178 def length() end |
#sampleRate ⇒ Object
Returns the sample rate in Hz.
2163 2164 |
# File 'lib/TagLib_doc.rb', line 2163 def sampleRate() end |
#sampleWidth ⇒ Object
Returns the sample width as read from the FLAC identification header.
2173 2174 |
# File 'lib/TagLib_doc.rb', line 2173 def sampleWidth() end |