Class: TagLib::FLAC::Properties

Inherits:
AudioProperties show all
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

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.



2183
2184
# File 'lib/TagLib_doc.rb', line 2183

def bitrate()
end

#channelsObject

Returns the number of audio channels.



2168
2169
# File 'lib/TagLib_doc.rb', line 2168

def channels()
end

#lengthObject

Returns the length of the file in seconds.



2178
2179
# File 'lib/TagLib_doc.rb', line 2178

def length()
end

#sampleRateObject

Returns the sample rate in Hz.



2163
2164
# File 'lib/TagLib_doc.rb', line 2163

def sampleRate()
end

#sampleWidthObject

Returns the sample width as read from the FLAC identification header.



2173
2174
# File 'lib/TagLib_doc.rb', line 2173

def sampleWidth()
end