Class: TagLib::MPEG::Header

Inherits:
Object
  • Object
show all
Defined in:
lib/TagLib_doc.rb

Overview

An implementation of MP3 frame headers. .

This is an implementation of MPEG Layer III headers. The API follows more or less the binary format of these headers. I've used this document as a reference.

Instance Method Summary collapse

Instance Method Details

#bitrateObject

Returns the bitrate encoded in the header.



1579
1580
# File 'lib/TagLib_doc.rb', line 1579

def bitrate()
end

#channelModeObject

Returns the channel mode for this frame.



1554
1555
# File 'lib/TagLib_doc.rb', line 1554

def channelMode()
end

#frameLengthObject

Returns the frame length.



1529
1530
# File 'lib/TagLib_doc.rb', line 1529

def frameLength()
end

#isCopyrightedObject

Returns true if the copyrighted bit is set.



1564
1565
# File 'lib/TagLib_doc.rb', line 1564

def isCopyrighted()
end

#isOriginalObject

Returns true if the "original" bit is set.



1574
1575
# File 'lib/TagLib_doc.rb', line 1574

def isOriginal()
end

#isPaddedObject

Returns true if the frame is padded.



1539
1540
# File 'lib/TagLib_doc.rb', line 1539

def isPadded()
end

#isValidObject

Returns true if the frame is at least an appropriate size and has legal values.



1559
1560
# File 'lib/TagLib_doc.rb', line 1559

def isValid()
end

#layerObject

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



1569
1570
# File 'lib/TagLib_doc.rb', line 1569

def layer()
end

#protectionEnabledObject

Returns true if the MPEG protection bit is enabled.



1584
1585
# File 'lib/TagLib_doc.rb', line 1584

def protectionEnabled()
end

#sampleRateObject

Returns the sample rate in Hz.



1534
1535
# File 'lib/TagLib_doc.rb', line 1534

def sampleRate()
end

#samplesPerFrameObject

Returns the number of frames per sample.



1549
1550
# File 'lib/TagLib_doc.rb', line 1549

def samplesPerFrame()
end

#versionObject

Returns the MPEG Version of the header.



1544
1545
# File 'lib/TagLib_doc.rb', line 1544

def version()
end