| Class | TagLib::Ogg::PageHeader |
| In: |
lib/TagLib_doc.rb
|
| Parent: | Object |
Some packets can be continued across multiple pages. If the first packet in the current page is a continuation this will return true. If this is page starts with a new packet this will return false.lastPacketCompleted() setFirstPacketContinued()
# File lib/TagLib_doc.rb, line 1276 def firstPacketContinued() end
Returns true if the header parsed properly and is valid.
# File lib/TagLib_doc.rb, line 1199 def isValid() end
Returns true if the last packet of this page is completely contained in this page.firstPacketContinued() setLastPacketCompleted()
# File lib/TagLib_doc.rb, line 1211 def lastPacketCompleted() end
Render the page header to binary data.The checksum — bytes 22 - 25 — will be left empty and must be filled in when rendering the entire page.
# File lib/TagLib_doc.rb, line 1205 def render() end
A special value of containing the position of the packet to be interpreted by the codec. It is only supported here so that it may be coppied from one page to another.absoluteGranularPosition()
# File lib/TagLib_doc.rb, line 1270 def setAbsoluteGranularPosition(long long agp) end
Sets the internal flag indicating if the first packet in this page is continued to continued.firstPacketContinued()
# File lib/TagLib_doc.rb, line 1182 def setFirstPacketContinued(bool continued) end
Sets the internal flag indicating if the last packet in this page is complete to completed.lastPacketCompleted()
# File lib/TagLib_doc.rb, line 1240 def setLastPacketCompleted(bool completed) end
Sets the sizes of the packets in this page to sizes. Internally this updates the lacing values in the header.packetSizes()
# File lib/TagLib_doc.rb, line 1252 def setPacketSizes( List< int > sizes) end
Sets the page's position in the stream to sequenceNumber.pageSequenceNumber()
# File lib/TagLib_doc.rb, line 1258 def setPageSequenceNumber(int sequenceNumber) end
Every Ogg logical stream is given a random serial number which is common to every page in that logical stream. This sets this pages serial number. This method should be used when adding new pages to a logical stream.streamSerialNumber()
# File lib/TagLib_doc.rb, line 1194 def setStreamSerialNumber(uint n) end