An implementation of TagLib::File with Ogg/FLAC specific methods. More...
#include <oggflacfile.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 TagLib::File with Ogg/FLAC specific methods.
This implements and provides an interface for Ogg/FLAC files to the TagLib::Tag and TagLib::AudioProperties interfaces by way of implementing the abstract TagLib::File API as well as providing some additional information specific to Ogg FLAC files.
TagLib::Ogg::FLAC::File::File | ( | FileName | file, |
bool | readProperties = true , |
||
Properties::ReadStyle | propertiesStyle = Properties::Average |
||
) |
Constructs an Ogg/FLAC file from file. If readProperties is true
the file's audio properties will also be read.
TagLib::Ogg::FLAC::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 FLAC::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
bool TagLib::Ogg::FLAC::File::hasXiphComment | ( | ) | const |
Returns whether or not the file on disk actually has a XiphComment.
|
overridevirtual |
Implements the unified property interface – export function. This forwards directly to XiphComment::properties().
Reimplemented from TagLib::File.
|
overridevirtual |
Save the file. This will primarily save and update the XiphComment. Returns true
if the save is successful.
Reimplemented from TagLib::Ogg::File.
|
overridevirtual |
Implements the unified tag dictionary interface – import function. Like properties(), this is a forwarder to the file's XiphComment.
Reimplemented from TagLib::File.
offset_t TagLib::Ogg::FLAC::File::streamLength | ( | ) |
Returns the length of the audio-stream, used by FLAC::Properties for calculating the bitrate.
|
overridevirtual |
Returns the Tag for this file. This will always be a XiphComment.
Implements TagLib::File.