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 106:9048bac046c3
prev74:771ee2b1e4f8
next561:533f6b478071
author nkeynes
date Tue Jan 23 11:21:21 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Change default mode to BGR, not RGB
file annotate diff log raw
1.1 --- a/src/drivers/audio_null.c Thu Jan 12 12:38:59 2006 +0000
1.2 +++ b/src/drivers/audio_null.c Tue Jan 23 11:21:21 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio_null.c,v 1.2 2006-01-12 12:38:59 nkeynes Exp $
1.6 + * $Id: audio_null.c,v 1.3 2006-03-14 12:45:53 nkeynes Exp $
1.7 *
1.8 * The "null" audio driver, which just discards all input without even
1.9 * looking at it.
1.10 @@ -18,14 +18,14 @@
1.11 */
1.12 #include "aica/audio.h"
1.13
1.14 -gboolean null_audio_set_format( uint32_t rate, uint32_t format )
1.15 +gboolean audio_null_set_format( uint32_t rate, uint32_t format )
1.16 {
1.17 return TRUE;
1.18 }
1.19
1.20 -gboolean null_audio_process_buffer( audio_buffer_t buffer )
1.21 +gboolean audio_null_process_buffer( audio_buffer_t buffer )
1.22 {
1.23 return TRUE;
1.24 }
1.25
1.26 -struct audio_driver null_audio_driver = { "null", null_audio_set_format, null_audio_process_buffer };
1.27 +struct audio_driver audio_null_driver = { "null", audio_null_set_format, audio_null_process_buffer };
.