diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-09 12:06:03 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-09 12:06:03 +0000 |
commit | 986fb959e2c6e24f73d947edaf5f32035b1e91db (patch) | |
tree | 2fc450616cff4cf2aaa6e6f15bd01d220cbefef7 /libs/ardour/audioengine.cc | |
parent | bcc929a5b6760660d307c30da58efdd24c9411fb (diff) |
fix (no)use of offset in AudioEngine::get_sync_offset()
git-svn-id: svn://localhost/ardour2/branches/3.0@5500 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r-- | libs/ardour/audioengine.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index d9a817cb7b..7b69b54e26 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -217,7 +217,7 @@ AudioEngine::stop (bool forever) bool -AudioEngine::get_sync_offset (nframes_t& /*offset*/) const +AudioEngine::get_sync_offset (nframes_t& offset) const { #ifdef HAVE_JACK_VIDEO_SUPPORT @@ -232,7 +232,9 @@ AudioEngine::get_sync_offset (nframes_t& /*offset*/) const return true; } } - +#else + /* keep gcc happy */ + offset = 0; #endif return false; |