projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc929a
)
fix (no)use of offset in AudioEngine::get_sync_offset()
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 9 Aug 2009 12:06:03 +0000
(12:06 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 9 Aug 2009 12:06:03 +0000
(12:06 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5500
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/audioengine.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audioengine.cc
b/libs/ardour/audioengine.cc
index d9a817cb7b9d25d49036c8384b05ac961a265a2e..7b69b54e2628ab3ea7094b2227394f80b122008a 100644
(file)
--- 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;