Search
lxdream.org :: lxdream/src/drivers/audio_null.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/audio_null.c
changeset 1024:c67f2d61ab97
prev736:a02d1475ccfd
author nkeynes
date Fri Jul 31 13:45:32 2009 +1000 (13 years ago)
permissions -rw-r--r--
last change Remove or change the level of a bunch of INFO messages that shouldn't really
be INFO level
file annotate diff log raw
1.1 --- a/src/drivers/audio_null.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/drivers/audio_null.c Fri Jul 31 13:45:32 2009 +1000
1.3 @@ -18,17 +18,17 @@
1.4 */
1.5 #include "aica/audio.h"
1.6
1.7 -gboolean audio_null_init()
1.8 +static gboolean audio_null_init()
1.9 {
1.10 return TRUE;
1.11 }
1.12
1.13 -gboolean audio_null_process_buffer( audio_buffer_t buffer )
1.14 +static gboolean audio_null_process_buffer( audio_buffer_t buffer )
1.15 {
1.16 return TRUE;
1.17 }
1.18
1.19 -gboolean audio_null_shutdown()
1.20 +static gboolean audio_null_shutdown()
1.21 {
1.22 return TRUE;
1.23 }
1.24 @@ -36,6 +36,7 @@
1.25 struct audio_driver audio_null_driver = {
1.26 "null",
1.27 N_("Null (no audio) driver"),
1.28 + 65536, // Always last
1.29 DEFAULT_SAMPLE_RATE,
1.30 DEFAULT_SAMPLE_FORMAT,
1.31 audio_null_init,
1.32 @@ -43,3 +44,5 @@
1.33 audio_null_process_buffer,
1.34 NULL,
1.35 audio_null_shutdown};
1.36 +
1.37 +AUDIO_DRIVER( "null", audio_null_driver );
.