2 Copyright (C) 2001 Paul Davis
3 Copyright (C) 2004-2006 Grame
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef __JackDummyDriver__
22 #define __JackDummyDriver__
24 #include "JackAudioDriver.h"
25 #include "JackThreadedDriver.h"
32 \brief The dummy driver.
35 class JackDummyDriver
: public JackAudioDriver
43 JackDummyDriver(const char* name
, JackEngine
* engine
, JackSynchro
** table
, unsigned long wait_time
)
44 : JackAudioDriver(name
, engine
, table
), fWaitTime(wait_time
)
46 virtual ~JackDummyDriver()
49 int Open(jack_nframes_t frames_per_cycle
,
56 const char* capture_driver_name
,
57 const char* playback_driver_name
,
58 jack_nframes_t capture_latency
,
59 jack_nframes_t playback_latency
);
62 int SetBufferSize(jack_nframes_t buffer_size
);