An implementation of Ogg::File with Opus specific methods. More...
#include <opusfile.h>
Static Public Member Functions | |
static bool | isSupported (IOStream *stream) |
Additional Inherited Members | |
![]() | |
enum | Position { Beginning , Current , End } |
enum | StripTags { StripNone , StripOthers } |
enum | DuplicateTags { Duplicate , DoNotDuplicate } |
![]() | |
File (FileName file) | |
File (IOStream *stream) | |
![]() | |
File (FileName fileName) | |
File (IOStream *stream) | |
void | setValid (bool valid) |
void | truncate (offset_t length) |
![]() | |
static unsigned int | bufferSize () |
An implementation of Ogg::File with Opus specific methods.
This is the central class in the Ogg Opus 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 Opus specifically.
TagLib::Ogg::Opus::File::File | ( | FileName | file, |
bool | readProperties = true , |
||
Properties::ReadStyle | propertiesStyle = Properties::Average |
||
) |
Constructs an Opus file from file. If readProperties is true
the file's audio properties will also be read.
TagLib::Ogg::Opus::File::File | ( | IOStream * | stream, |
bool | readProperties = true , |
||
Properties::ReadStyle | propertiesStyle = Properties::Average |
||
) |
|
overridevirtual |
Destroys this instance of the File.
Reimplemented from TagLib::Ogg::File.
|
overridevirtual |
Returns the Opus::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
Returns whether or not the given stream can be opened as an Opus file.
|
overridevirtual |
Implements the unified property interface – export function. This forwards directly to XiphComment::properties().
Reimplemented from TagLib::File.
|
overridevirtual |
|
overridevirtual |
Implements the unified tag dictionary interface – import function. Like properties(), this is a forwarder to the file's XiphComment.
Reimplemented from TagLib::File.
|
overridevirtual |
Returns the XiphComment for this file. XiphComment implements the tag interface, so this serves as the reimplementation of TagLib::File::tag().
Implements TagLib::File.