summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/silentfilesource.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-21 15:55:17 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-21 15:55:17 +0000
commitb65f8073ba306ac2d85133875746767e7c6b0eb6 (patch)
tree86e598b4cfe92aa8eaca558b85e1a4c397fa3f0e /libs/ardour/ardour/silentfilesource.h
parentf41149628955fc8145bef6db0c110b71664c0a3a (diff)
Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/silentfilesource.h')
-rw-r--r--libs/ardour/ardour/silentfilesource.h10
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;
}