Mercurial > hg > svcore
comparison data/fileio/AudioFileReader.h @ 271:822bd7fd526c
* Add support for reading mp3 and Ogg file title tags
author | Chris Cannam |
---|---|
date | Mon, 02 Jul 2007 13:53:38 +0000 |
parents | e08f486e8d8c |
children | 20028c634494 |
comparison
equal
deleted
inserted
replaced
270:840dd5e6400f | 271:822bd7fd526c |
---|---|
32 | 32 |
33 size_t getFrameCount() const { return m_frameCount; } | 33 size_t getFrameCount() const { return m_frameCount; } |
34 size_t getChannelCount() const { return m_channelCount; } | 34 size_t getChannelCount() const { return m_channelCount; } |
35 size_t getSampleRate() const { return m_sampleRate; } | 35 size_t getSampleRate() const { return m_sampleRate; } |
36 | 36 |
37 /** | |
38 * Return the title of the work in the audio file, if known. This | |
39 * may be implemented by subclasses that support file tagging. | |
40 * This is not the same thing as the file name. | |
41 */ | |
42 virtual QString getTitle() const { return ""; } | |
43 | |
37 /** | 44 /** |
38 * The subclass implementations of this function must be | 45 * The subclass implementations of this function must be |
39 * thread-safe -- that is, safe to call from multiple threads with | 46 * thread-safe -- that is, safe to call from multiple threads with |
40 * different arguments on the same object at the same time. | 47 * different arguments on the same object at the same time. |
41 */ | 48 */ |