![]() |
|
#include <wavfile.h>
Public Member Functions | |
File (FileName file, bool readProperties=true, Properties::ReadStyle propertiesStyle=Properties::Average) | |
virtual | ~File () |
virtual ID3v2::Tag * | tag () const |
virtual Properties * | audioProperties () const |
virtual bool | save () |
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.
virtual TagLib::RIFF::WAV::File::~File | ( | ) | [virtual] |
Destroys this instance of the File.
Reimplemented from TagLib::RIFF::File.
virtual Properties* TagLib::RIFF::WAV::File::audioProperties | ( | ) | const [virtual] |
Returns the WAV::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
virtual bool TagLib::RIFF::WAV::File::save | ( | ) | [virtual] |
Saves the file.
Implements TagLib::File.
virtual ID3v2::Tag* TagLib::RIFF::WAV::File::tag | ( | ) | const [virtual] |
Returns the Tag for this file.
Implements TagLib::File.