filename | src/drivers/audio_null.c |
changeset | 1024:c67f2d61ab97 |
prev | 736:a02d1475ccfd |
author | nkeynes |
date | Sat Jan 26 14:00:48 2013 +1000 (11 years ago) |
permissions | -rw-r--r-- |
last change | Change glib includes to #include <glib.h> rather than the individual headers, as recent glib versions are breaking on this |
file | annotate | diff | log | raw |
1.1 --- a/src/drivers/audio_null.c Mon Jul 14 07:44:42 2008 +00001.2 +++ b/src/drivers/audio_null.c Sat Jan 26 14:00:48 2013 +10001.3 @@ -18,17 +18,17 @@1.4 */1.5 #include "aica/audio.h"1.7 -gboolean audio_null_init()1.8 +static gboolean audio_null_init()1.9 {1.10 return TRUE;1.11 }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.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 last1.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 );
.