Mercurial > hg > svcore
comparison data/fileio/WavFileReader.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 | 954d0cf29ca7 |
children | ce185d4dd408 |
comparison
equal
deleted
inserted
replaced
1591:6e68bd92ee21 | 1592:f8e3dcbafb4d |
---|---|
49 virtual ~WavFileReader(); | 49 virtual ~WavFileReader(); |
50 | 50 |
51 virtual QString getLocation() const { return m_source.getLocation(); } | 51 virtual QString getLocation() const { return m_source.getLocation(); } |
52 virtual QString getError() const { return m_error; } | 52 virtual QString getError() const { return m_error; } |
53 | 53 |
54 QString getTitle() const override { return m_title; } | |
55 QString getMaker() const override { return m_maker; } | |
56 | |
54 virtual QString getLocalFilename() const { return m_path; } | 57 virtual QString getLocalFilename() const { return m_path; } |
55 | 58 |
56 virtual bool isQuicklySeekable() const { return m_seekable; } | 59 virtual bool isQuicklySeekable() const { return m_seekable; } |
57 | 60 |
58 /** | 61 /** |
79 SNDFILE *m_file; | 82 SNDFILE *m_file; |
80 | 83 |
81 FileSource m_source; | 84 FileSource m_source; |
82 QString m_path; | 85 QString m_path; |
83 QString m_error; | 86 QString m_error; |
87 QString m_title; | |
88 QString m_maker; | |
84 | 89 |
85 bool m_seekable; | 90 bool m_seekable; |
86 | 91 |
87 mutable QMutex m_mutex; | 92 mutable QMutex m_mutex; |
88 mutable floatvec_t m_buffer; | 93 mutable floatvec_t m_buffer; |