Public Member Functions |
| File (FileName file, bool readProperties=true, Properties::ReadStyle propertiesStyle=Properties::Average) |
| File (IOStream *stream, bool readProperties=true, Properties::ReadStyle propertiesStyle=Properties::Average) |
virtual | ~File () |
virtual Ogg::XiphComment * | tag () const |
virtual Properties * | audioProperties () const |
virtual bool | save () |
ByteVector | packet (uint i) |
void | setPacket (uint i, const ByteVector &p) |
const PageHeader * | firstPageHeader () |
const PageHeader * | lastPageHeader () |
FileName | name () const |
PropertyMap | properties () const |
void | removeUnsupportedProperties (const StringList &properties) |
PropertyMap | setProperties (const PropertyMap &properties) |
ByteVector | readBlock (ulong length) |
void | writeBlock (const ByteVector &data) |
long | find (const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector::null) |
long | rfind (const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector::null) |
void | insert (const ByteVector &data, ulong start=0, ulong replace=0) |
void | removeBlock (ulong start=0, ulong length=0) |
bool | readOnly () const |
bool | isOpen () const |
bool | isValid () const |
void | seek (long offset, Position p=Beginning) |
void | clear () |
long | tell () const |
long | length () |
An implementation of Ogg::File with Speex specific methods.
This is the central class in the Ogg Speex metadata processing collection of classes. It's built upon Ogg::File which handles processing of the Ogg logical bitstream and breaking it down into pages which are handled by the codec implementations, in this case Speex specifically.