Mercurial > hg > svcore
diff data/fileio/AudioFileReader.h @ 1056:c4898e57eea5 tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 23 Mar 2015 10:04:48 +0000 |
parents | 36f79bc5c3d7 |
children | cc27f35aa75c |
line wrap: on
line diff
--- a/data/fileio/AudioFileReader.h Mon Nov 10 09:19:49 2014 +0000 +++ b/data/fileio/AudioFileReader.h Mon Mar 23 10:04:48 2015 +0000 @@ -62,6 +62,16 @@ */ virtual QString getMaker() const { return ""; } + /** + * Return the local file path of the audio data. This is the + * location most likely to contain readable audio data: it may be + * in a different place or format from the originally specified + * location, for example if the file has been retrieved and + * decoded. In some cases there may be no local file path, and + * this will return "" if there is none. + */ + virtual QString getLocalFilename() const { return ""; } + typedef std::map<QString, QString> TagMap; virtual TagMap getTags() const { return TagMap(); }