summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-01-10 23:39:39 +0000
committerCarl Hetherington <carl@carlh.net>2012-01-10 23:39:39 +0000
commit08826bc432ce567cccda317571f57f2fa6e12566 (patch)
treec14ba7f4d5297adeffbfba9bdd8d24ce008ae516 /libs
parentb53c92b652563f682ec414f46c8aca724ce630cd (diff)
Remove unused _process_callback method.
git-svn-id: svn://localhost/ardour2/branches/3.0@11223 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/audioengine.h1
-rw-r--r--libs/ardour/audioengine.cc15
2 files changed, 2 insertions, 14 deletions
diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h
index 13bac48255..a930d12e13 100644
--- a/libs/ardour/ardour/audioengine.h
+++ b/libs/ardour/ardour/audioengine.h
@@ -299,7 +299,6 @@ private:
static void _session_callback (jack_session_event_t *event, void *arg);
#endif
static int _graph_order_callback (void *arg);
- static int _process_callback (pframes_t nframes, void *arg);
static void* _process_thread (void *arg);
static int _sample_rate_callback (pframes_t nframes, void *arg);
static int _bufsize_callback (pframes_t nframes, void *arg);
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc
index fa1d6fe175..6e10e01d98 100644
--- a/libs/ardour/audioengine.cc
+++ b/libs/ardour/audioengine.cc
@@ -335,17 +335,7 @@ AudioEngine::_graph_order_callback (void *arg)
return 0;
}
-/** Wrapped which is called by JACK as its process callback. It is just
- * here to get us back into C++ land by calling AudioEngine::process_callback()
- * @param nframes Number of frames passed by JACK.
- * @param arg User argument passed by JACK, which will be the AudioEngine*.
- */
int
-AudioEngine::_process_callback (pframes_t nframes, void *arg)
-{
- return static_cast<AudioEngine *> (arg)->process_callback (nframes);
-}
-
void*
AudioEngine::_process_thread (void *arg)
{
@@ -450,9 +440,8 @@ AudioEngine::process_thread ()
return 0;
}
-/** Method called by JACK (via _process_callback) which says that there
- * is work to be done.
- * @param nframes Number of frames to process.
+/** Method called by our ::process_thread when there is work to be done.
+ * @param nframes Number of frames to process.
*/
int
AudioEngine::process_callback (pframes_t nframes)