13
0

Remove unused _process_callback method.

git-svn-id: svn://localhost/ardour2/branches/3.0@11223 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-01-10 23:39:39 +00:00
parent b53c92b652
commit 08826bc432
2 changed files with 2 additions and 14 deletions

View File

@ -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);

View File

@ -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)