diff options
Diffstat (limited to 'libs/ardour/ardour/silentfilesource.h')
-rw-r--r-- | libs/ardour/ardour/silentfilesource.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/silentfilesource.h b/libs/ardour/ardour/silentfilesource.h index c76af3fbcf..dcf7964ac6 100644 --- a/libs/ardour/ardour/silentfilesource.h +++ b/libs/ardour/ardour/silentfilesource.h @@ -27,7 +27,7 @@ namespace ARDOUR { class SilentFileSource : public AudioFileSource { public: - int update_header (sframes_t when, struct tm&, time_t) { return 0; } + int update_header (sframes_t /*when*/, struct tm&, time_t) { return 0; } int flush_header () { return 0; } float sample_rate () const { return _sample_rate; } @@ -47,17 +47,17 @@ protected: _length = len; } - nframes_t read_unlocked (Sample *dst, sframes_t start, nframes_t cnt) const { + nframes_t read_unlocked (Sample *dst, sframes_t /*start*/, nframes_t cnt) const { memset (dst, 0, sizeof (Sample) * cnt); return cnt; } - nframes_t write_unlocked (Sample *dst, nframes_t cnt) { return 0; } + nframes_t write_unlocked (Sample */*dst*/, nframes_t /*cnt*/) { return 0; } void set_header_timeline_position () {} - int read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, sframes_t start, nframes_t cnt, - double samples_per_unit, nframes_t fpp) const { + int read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, sframes_t /*start*/, nframes_t /*cnt*/, + double /*samples_per_unit*/, nframes_t /*fpp*/) const { memset (peaks, 0, sizeof (PeakData) * npeaks); return 0; } |