comparison data/fileio/AudioFileReader.h @ 1010:36f79bc5c3d7

Provide access to local filename
author Chris Cannam
date Fri, 14 Nov 2014 17:23:38 +0000
parents c9d456b1fcde
children cc27f35aa75c
comparison
equal deleted inserted replaced
1009:e369dd281cf2 1010:36f79bc5c3d7
60 * This could represent almost anything (band, composer, 60 * This could represent almost anything (band, composer,
61 * conductor, artist etc). 61 * conductor, artist etc).
62 */ 62 */
63 virtual QString getMaker() const { return ""; } 63 virtual QString getMaker() const { return ""; }
64 64
65 /**
66 * Return the local file path of the audio data. This is the
67 * location most likely to contain readable audio data: it may be
68 * in a different place or format from the originally specified
69 * location, for example if the file has been retrieved and
70 * decoded. In some cases there may be no local file path, and
71 * this will return "" if there is none.
72 */
73 virtual QString getLocalFilename() const { return ""; }
74
65 typedef std::map<QString, QString> TagMap; 75 typedef std::map<QString, QString> TagMap;
66 virtual TagMap getTags() const { return TagMap(); } 76 virtual TagMap getTags() const { return TagMap(); }
67 77
68 /** 78 /**
69 * Return true if this file supports fast seek and random 79 * Return true if this file supports fast seek and random