Mercurial > hg > svcore
comparison data/fileio/AudioFileReader.h @ 1592:f8e3dcbafb4d bqaudiostream
Implement title/maker in wav readers; extra handling of supported-ness for file types
author | Chris Cannam |
---|---|
date | Mon, 21 Jan 2019 13:16:17 +0000 |
parents | 54af1e21705c |
children | ce185d4dd408 |
comparison
equal
deleted
inserted
replaced
1591:6e68bd92ee21 | 1592:f8e3dcbafb4d |
---|---|
77 /** | 77 /** |
78 * Return the title of the work in the audio file, if known. This | 78 * Return the title of the work in the audio file, if known. This |
79 * may be implemented by subclasses that support file tagging. | 79 * may be implemented by subclasses that support file tagging. |
80 * This is not the same thing as the file name. | 80 * This is not the same thing as the file name. |
81 */ | 81 */ |
82 virtual QString getTitle() const { return ""; } | 82 virtual QString getTitle() const = 0; |
83 | 83 |
84 /** | 84 /** |
85 * Return the "maker" of the work in the audio file, if known. | 85 * Return the "maker" of the work in the audio file, if known. |
86 * This could represent almost anything (band, composer, | 86 * This could represent almost anything (band, composer, |
87 * conductor, artist etc). | 87 * conductor, artist etc). |
88 */ | 88 */ |
89 virtual QString getMaker() const { return ""; } | 89 virtual QString getMaker() const = 0; |
90 | 90 |
91 /** | 91 /** |
92 * Return the local file path of the audio data. This is the | 92 * Return the local file path of the audio data. This is the |
93 * location most likely to contain readable audio data: it may be | 93 * location most likely to contain readable audio data: it may be |
94 * in a different place or format from the originally specified | 94 * in a different place or format from the originally specified |