Class: TagLib::TrueAudio::Properties
- Inherits:
-
AudioProperties
- Object
- AudioProperties
- TagLib::TrueAudio::Properties
- Defined in:
- lib/TagLib_doc.rb
Overview
An implementation of audio property reading for TrueAudio. .</b>
This reads the data from an TrueAudio stream found in the AudioProperties API.
Instance Method Summary collapse
-
#bitrate ⇒ Object
Returns the most appropriate bit rate for the file in kb/s.
-
#bitsPerSample ⇒ Object
Returns number of bits per sample.
-
#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.
-
#ttaVersion ⇒ Object
Returns the major version number.
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.
468 469 |
# File 'lib/TagLib_doc.rb', line 468 def bitrate() end |
#bitsPerSample ⇒ Object
Returns number of bits per sample.
458 459 |
# File 'lib/TagLib_doc.rb', line 458 def bitsPerSample() end |
#channels ⇒ Object
Returns the number of audio channels.
453 454 |
# File 'lib/TagLib_doc.rb', line 453 def channels() end |
#length ⇒ Object
Returns the length of the file in seconds.
463 464 |
# File 'lib/TagLib_doc.rb', line 463 def length() end |
#sampleRate ⇒ Object
Returns the sample rate in Hz.
448 449 |
# File 'lib/TagLib_doc.rb', line 448 def sampleRate() end |
#ttaVersion ⇒ Object
Returns the major version number.
443 444 |
# File 'lib/TagLib_doc.rb', line 443 def ttaVersion() end |