Class: TagLib::MPC::Properties
- Inherits:
-
AudioProperties
- Object
- AudioProperties
- TagLib::MPC::Properties
- Defined in:
- lib/TagLib_doc.rb
Overview
An implementation of audio property reading for MPC. .</b>
This reads the data from an MPC 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.
-
#mpcVersion ⇒ Object
Returns the version of the bitstream (SV4-SV7).
-
#sampleRate ⇒ Object
Returns the sample rate in Hz.
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.
2047 2048 |
# File 'lib/TagLib_doc.rb', line 2047 def bitrate() end |
#channels ⇒ Object
Returns the number of audio channels.
2037 2038 |
# File 'lib/TagLib_doc.rb', line 2037 def channels() end |
#length ⇒ Object
Returns the length of the file in seconds.
2042 2043 |
# File 'lib/TagLib_doc.rb', line 2042 def length() end |
#mpcVersion ⇒ Object
Returns the version of the bitstream (SV4-SV7)
2052 2053 |
# File 'lib/TagLib_doc.rb', line 2052 def mpcVersion() end |
#sampleRate ⇒ Object
Returns the sample rate in Hz.
2032 2033 |
# File 'lib/TagLib_doc.rb', line 2032 def sampleRate() end |