39 class AudioProperties;
219 void removeBlock(
unsigned long start = 0,
unsigned long length = 0);
A simple, abstract interface to common audio properties.
Definition: audioproperties.h:43
A byte vector.
Definition: tbytevector.h:46
A file class with some useful methods for tag manipulation.
Definition: tfile.h:51
StripTags
Definition: tfile.h:68
@ 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)
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
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
static unsigned int bufferSize()
void truncate(long length)
virtual AudioProperties * audioProperties() const =0
virtual Tag * tag() const =0
PropertyMap setProperties(const PropertyMap &properties)
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:114
A list of strings.
Definition: tstringlist.h:46
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