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 697:479b8c213f61
prev643:653b0a70f173
next700:4650d0c7f6f9
author nkeynes
date Sun Jun 22 04:01:27 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Commit work-in-progress CoreAudio driver
(along with various changes to the audio subsystem)
file annotate diff log raw
1.1 --- a/src/drivers/audio_null.c Tue Feb 26 01:10:48 2008 +0000
1.2 +++ b/src/drivers/audio_null.c Sun Jun 22 04:01:27 2008 +0000
1.3 @@ -23,23 +23,21 @@
1.4 return TRUE;
1.5 }
1.6
1.7 -gboolean audio_null_set_format( uint32_t rate, uint32_t format )
1.8 -{
1.9 - return TRUE;
1.10 -}
1.11 -
1.12 gboolean audio_null_process_buffer( audio_buffer_t buffer )
1.13 {
1.14 return TRUE;
1.15 }
1.16
1.17 -gboolean audio_null_close()
1.18 +gboolean audio_null_shutdown()
1.19 {
1.20 return TRUE;
1.21 }
1.22
1.23 -struct audio_driver audio_null_driver = { "null",
1.24 - audio_null_init,
1.25 - audio_null_set_format,
1.26 - audio_null_process_buffer,
1.27 - audio_null_close};
1.28 +struct audio_driver audio_null_driver = { "null",
1.29 + DEFAULT_SAMPLE_RATE,
1.30 + DEFAULT_SAMPLE_FORMAT,
1.31 + audio_null_init,
1.32 + NULL,
1.33 + audio_null_process_buffer,
1.34 + NULL,
1.35 + audio_null_shutdown};
.