4 * The "null" audio driver, which just discards all input without even
7 * Copyright (c) 2005 Nathan Keynes.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 #include "aica/audio.h"
21 static gboolean audio_null_init()
26 static gboolean audio_null_process_buffer( audio_buffer_t buffer )
31 static gboolean audio_null_shutdown()
36 struct audio_driver audio_null_driver = {
38 N_("Null (no audio) driver"),
41 DEFAULT_SAMPLE_FORMAT,
44 audio_null_process_buffer,
48 AUDIO_DRIVER( "null", audio_null_driver );
.