![]() |
|
An implementation of TagLib::File with WAV specific methods. More...
#include <wavfile.h>
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 ID3v2::Tag * | tag () const |
PropertyMap | properties () const |
PropertyMap | setProperties (const PropertyMap &) |
virtual Properties * | audioProperties () const |
virtual bool | save () |
Additional Inherited Members | |
![]() | |
enum | Position { Beginning, Current, End } |
![]() | |
static bool | isReadable (const char *file) |
static bool | isWritable (const char *name) |
![]() | |
enum | Endianness { BigEndian, LittleEndian } |
![]() | |
File (FileName file, Endianness endianness) | |
File (IOStream *stream, Endianness endianness) | |
uint | riffSize () const |
uint | chunkCount () const |
uint | chunkOffset (uint i) const |
uint | chunkDataSize (uint i) const |
uint | chunkPadding (uint i) const |
ByteVector | chunkName (uint i) const |
ByteVector | chunkData (uint i) |
void | setChunkData (const ByteVector &name, const ByteVector &data) |
![]() | |
static uint | bufferSize () |
An implementation of TagLib::File with WAV specific methods.
This implements and provides an interface for WAV 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 WAV files.
TagLib::RIFF::WAV::File::File | ( | FileName | file, |
bool | readProperties = true , |
||
Properties::ReadStyle | propertiesStyle = Properties::Average |
||
) |
Contructs an WAV file from file. If readProperties is true the file's audio properties will also be read using propertiesStyle. If false, propertiesStyle is ignored.
TagLib::RIFF::WAV::File::File | ( | IOStream * | stream, |
bool | readProperties = true , |
||
Properties::ReadStyle | propertiesStyle = Properties::Average |
||
) |
|
virtual |
Destroys this instance of the File.
Reimplemented from TagLib::RIFF::File.
|
virtual |
Returns the WAV::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
PropertyMap TagLib::RIFF::WAV::File::properties | ( | ) | const |
Implements the unified property interface – export function. This method forwards to ID3v2::Tag::properties().
|
virtual |
Saves the file.
Implements TagLib::File.
PropertyMap TagLib::RIFF::WAV::File::setProperties | ( | const PropertyMap & | ) |
Implements the unified property interface – import function. This method forwards to ID3v2::Tag::setProperties().
|
virtual |
Returns the Tag for this file.
Implements TagLib::File.