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
This commit is contained in:
parent
bcc929a5b6
commit
986fb959e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user