Class: TagLib::Ogg::Speex::Properties

Inherits:
AudioProperties show all
Defined in:
lib/TagLib_doc.rb

Overview

An implementation of audio property reading for Ogg Speex. .</b>

This reads the data from an Ogg Speex stream found in the AudioProperties API.

Instance Method Summary collapse

Instance Method Details

#bitrateObject

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.



1035
1036
# File 'lib/TagLib_doc.rb', line 1035

def bitrate()
end

#channelsObject

Returns the number of audio channels.



1025
1026
# File 'lib/TagLib_doc.rb', line 1025

def channels()
end

#lengthObject

Returns the length of the file in seconds.



1030
1031
# File 'lib/TagLib_doc.rb', line 1030

def length()
end

#sampleRateObject

Returns the sample rate in Hz.



1020
1021
# File 'lib/TagLib_doc.rb', line 1020

def sampleRate()
end

#speexVersionObject

Returns the Speex version, currently &quot;0&quot; (as specified by the spec).



1015
1016
# File 'lib/TagLib_doc.rb', line 1015

def speexVersion()
end