#include <metaioflacvorbiscomment.h>

Definition at line 9 of file metaioflacvorbiscomment.h.
Public Member Functions | |
| MetaIOFLACVorbisComment (void) | |
| virtual | ~MetaIOFLACVorbisComment (void) |
| bool | write (Metadata *mdata, bool exclusive=false) |
| Writes metadata back to a file. | |
| Metadata * | read (QString filename) |
| Reads Metadata from a file. | |
Private Member Functions | |
| int | getTrackLength (QString filename) |
| Find the length of the track (in seconds). | |
| int | getTrackLength (FLAC__StreamMetadata *pBlock) |
| Find the length of the track (in seconds). | |
| QString | getComment (FLAC__StreamMetadata *pBlock, const char *pLabel) |
| Function to return an individual comment from an FLACVorbis comment. | |
| void | setComment (FLAC__StreamMetadata *pBlock, const char *pLabel, const QString &rData) |
| Function to return an individual comment from an FLACVorbis comment. | |
| MetaIOFLACVorbisComment::MetaIOFLACVorbisComment | ( | void | ) |
Definition at line 12 of file metaioflacvorbiscomment.cpp.
| MetaIOFLACVorbisComment::~MetaIOFLACVorbisComment | ( | void | ) | [virtual] |
Definition at line 17 of file metaioflacvorbiscomment.cpp.
Writes metadata back to a file.
| mdata | A pointer to a Metadata object | |
| exclusive | Flag to indicate if only the data in mdata should be in the file. If false, any unrecognised tags already in the file will be maintained. |
Implements MetaIO.
Definition at line 32 of file metaioflacvorbiscomment.cpp.
| Metadata * MetaIOFLACVorbisComment::read | ( | QString | filename | ) | [virtual] |
Reads Metadata from a file.
| filename | The filename to read metadata from. |
Implements MetaIO.
Definition at line 135 of file metaioflacvorbiscomment.cpp.
| int MetaIOFLACVorbisComment::getTrackLength | ( | QString | filename | ) | [private, virtual] |
Find the length of the track (in seconds).
| filename | The filename for which we want to find the length. |
Implements MetaIO.
Definition at line 219 of file metaioflacvorbiscomment.cpp.
Referenced by read().
| int MetaIOFLACVorbisComment::getTrackLength | ( | FLAC__StreamMetadata * | pBlock | ) | [inline, private] |
Find the length of the track (in seconds).
| pBlock | Pointer to a FLAC Metadata block |
Definition at line 257 of file metaioflacvorbiscomment.cpp.
| QString MetaIOFLACVorbisComment::getComment | ( | FLAC__StreamMetadata * | pBlock, | |
| const char * | pLabel | |||
| ) | [private] |
Function to return an individual comment from an FLACVorbis comment.
| pBlock | Pointer to a FLAC Metadata block | |
| pLabel | The label of the comment you want |
Definition at line 274 of file metaioflacvorbiscomment.cpp.
Referenced by read(), and setComment().
| void MetaIOFLACVorbisComment::setComment | ( | FLAC__StreamMetadata * | pBlock, | |
| const char * | pLabel, | |||
| const QString & | rData | |||
| ) | [private] |
Function to return an individual comment from an FLACVorbis comment.
| pBlock | Pointer to a FLAC Metadata block | |
| pLabel | The label of the comment you want | |
| rData | A reference to the data you want to write |
Definition at line 314 of file metaioflacvorbiscomment.cpp.
Referenced by write().
1.5.5