Class: TagLib::MPEG::Properties

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

Overview

An implementation of audio property reading for MP3. .

This reads the data from an MPEG Layer III 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.



1511
1512
# File 'lib/TagLib_doc.rb', line 1511

def bitrate()
end

#channelModeObject

Returns the channel mode for this frame.



1486
1487
# File 'lib/TagLib_doc.rb', line 1486

def channelMode()
end

#channelsObject

Returns the number of audio channels.



1481
1482
# File 'lib/TagLib_doc.rb', line 1481

def channels()
end

#isCopyrightedObject

Returns true if the copyrighted bit is set.



1491
1492
# File 'lib/TagLib_doc.rb', line 1491

def isCopyrighted()
end

#isOriginalObject

Returns true if the "original" bit is set.



1501
1502
# File 'lib/TagLib_doc.rb', line 1501

def isOriginal()
end

#layerObject

Returns the layer version. This will be between the values 1-3.



1496
1497
# File 'lib/TagLib_doc.rb', line 1496

def layer()
end

#lengthObject

Returns the length of the file in seconds.



1506
1507
# File 'lib/TagLib_doc.rb', line 1506

def length()
end

#protectionEnabledObject

Returns true if the MPEG protection bit is enabled.



1516
1517
# File 'lib/TagLib_doc.rb', line 1516

def protectionEnabled()
end

#sampleRateObject

Returns the sample rate in Hz.



1471
1472
# File 'lib/TagLib_doc.rb', line 1471

def sampleRate()
end

#versionObject

Returns the MPEG Version of the file.



1476
1477
# File 'lib/TagLib_doc.rb', line 1476

def version()
end

#xingHeaderObject

Returns a pointer to the XingHeader if one exists or null if no XingHeader was found.



1466
1467
# File 'lib/TagLib_doc.rb', line 1466

def xingHeader()
end