From 08826bc432ce567cccda317571f57f2fa6e12566 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 10 Jan 2012 23:39:39 +0000 Subject: [PATCH] Remove unused _process_callback method. git-svn-id: svn://localhost/ardour2/branches/3.0@11223 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/audioengine.h | 1 - libs/ardour/audioengine.cc | 15 ++------------- 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 (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)