#include <metaiooggvorbiscomment.h>

Definition at line 9 of file metaiooggvorbiscomment.h.
Public Member Functions | |
| MetaIOOggVorbisComment (void) | |
| virtual | ~MetaIOOggVorbisComment (void) |
| bool | write (Metadata *mdata, bool exclusive=false) |
| Writes metadata back to a file. | |
| Metadata * | read (QString filename) |
| Reads Metadata from a file. | |
Static Public Member Functions | |
| static vorbis_comment * | getRawVorbisComment (Metadata *mdata, vorbis_comment *pComment=NULL) |
| Low Level Function to get the raw vorbis comment block. | |
Private Member Functions | |
| int | getTrackLength (QString filename) |
| Find the length of the track (in milliseconds). | |
| int | getTrackLength (OggVorbis_File *pVf) |
| Find the length of the track (in milliseconds) of an ov_open'ed file. | |
| QString | getComment (vorbis_comment *pComment, const char *pLabel) |
| Function to return an individual comment from an OggVorbis comment. | |
| MetaIOOggVorbisComment::MetaIOOggVorbisComment | ( | void | ) |
Definition at line 26 of file metaiooggvorbiscomment.cpp.
| MetaIOOggVorbisComment::~MetaIOOggVorbisComment | ( | void | ) | [virtual] |
Definition at line 33 of file metaiooggvorbiscomment.cpp.
| vorbis_comment * MetaIOOggVorbisComment::getRawVorbisComment | ( | Metadata * | mdata, | |
| vorbis_comment * | pComment = NULL | |||
| ) | [static] |
Low Level Function to get the raw vorbis comment block.
| mdata | A pointer to a Metadata object |
Definition at line 48 of file metaiooggvorbiscomment.cpp.
Referenced by VorbisEncoder::VorbisEncoder(), and write().
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 187 of file metaiooggvorbiscomment.cpp.
| Metadata * MetaIOOggVorbisComment::read | ( | QString | filename | ) | [virtual] |
Reads Metadata from a file.
| filename | The filename to read metadata from. |
Implements MetaIO.
Definition at line 274 of file metaiooggvorbiscomment.cpp.
| int MetaIOOggVorbisComment::getTrackLength | ( | QString | filename | ) | [private, virtual] |
Find the length of the track (in milliseconds).
| filename | The filename for which we want to find the length. |
Implements MetaIO.
Definition at line 363 of file metaiooggvorbiscomment.cpp.
Referenced by read().
| int MetaIOOggVorbisComment::getTrackLength | ( | OggVorbis_File * | pVf | ) | [private] |
Find the length of the track (in milliseconds) of an ov_open'ed file.
| filename | The filename for which we want to find the length. |
Definition at line 347 of file metaiooggvorbiscomment.cpp.
| QString MetaIOOggVorbisComment::getComment | ( | vorbis_comment * | pComment, | |
| const char * | pLabel | |||
| ) | [private] |
Function to return an individual comment from an OggVorbis comment.
| pComment | Pointer to a vorbis_comment | |
| pLabel | The label of the comment you want |
Definition at line 398 of file metaiooggvorbiscomment.cpp.
Referenced by read().
1.5.5