A simple, abstract interface to common audio properties.
Definition audioproperties.h:43
A byte vector.
Definition tbytevector.h:46
StripTags
Definition tfile.h:68
@ StripOthers
Definition tfile.h:70
@ StripNone
Definition tfile.h:69
void seek(long offset, Position p=Beginning)
void writeBlock(const ByteVector &data)
void removeBlock(unsigned long start=0, unsigned long length=0)
virtual AudioProperties * audioProperties() const =0
PropertyMap properties() const
static TAGLIB_DEPRECATED bool isReadable(const char *file)
Position
Definition tfile.h:56
@ Current
Seek from the current position in the file.
Definition tfile.h:60
@ Beginning
Seek from the beginning of the file.
Definition tfile.h:58
@ End
Seek from the end of the file.
Definition tfile.h:62
long find(const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector())
long rfind(const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector())
void removeUnsupportedProperties(const StringList &properties)
ByteVector readBlock(unsigned long length)
void setValid(bool valid)
void insert(const ByteVector &data, unsigned long start=0, unsigned long replace=0)
DuplicateTags
Definition tfile.h:77
@ Duplicate
Definition tfile.h:78
@ DoNotDuplicate
Definition tfile.h:79
static unsigned int bufferSize()
void truncate(long length)
PropertyMap setProperties(const PropertyMap &properties)
virtual Tag * tag() const =0
static TAGLIB_DEPRECATED bool isWritable(const char *name)
An abstract class that provides operations on a sequence of bytes.
Definition tiostream.h:63
A map for format-independent <key,valuelist> tag representations.
Definition tpropertymap.h:119
A list of strings.
Definition tstringlist.h:46
A wide string class suitable for unicode.
Definition tstring.h:85
A namespace for all TagLib related classes and functions.
Definition apefile.h:41
const char * FileName
Definition tiostream.h:57
#define TAGLIB_DEPRECATED
Definition taglib.h:54
#define TAGLIB_EXPORT
Definition taglib_export.h:40