Search
lxdream.org :: lxdream/src/drivers/audio_esd.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/audio_esd.c
changeset 106:9048bac046c3
prev86:f151e63f9754
next111:230243c2b520
author nkeynes
date Tue Mar 14 12:45:53 2006 +0000 (15 years ago)
permissions -rw-r--r--
last change Move driver selection out to main at long last. Add video NULL driver for
headless operation
Make dcload exit() actually exit
file annotate diff log raw
1.1 --- a/src/drivers/audio_esd.c Sun Jan 22 22:40:05 2006 +0000
1.2 +++ b/src/drivers/audio_esd.c Tue Mar 14 12:45:53 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio_esd.c,v 1.5 2006-01-22 22:40:05 nkeynes Exp $
1.6 + * $Id: audio_esd.c,v 1.6 2006-03-14 12:45:53 nkeynes Exp $
1.7 *
1.8 * The esd (esound) audio driver
1.9 *
1.10 @@ -22,7 +22,7 @@
1.11 int esd_handle = -1;
1.12 int esd_sample_size = 1;
1.13
1.14 -gboolean esd_audio_set_format( uint32_t rate, uint32_t format )
1.15 +gboolean audio_esd_set_format( uint32_t rate, uint32_t format )
1.16 {
1.17 if( esd_handle != -1 ) {
1.18 esd_close(esd_handle);
1.19 @@ -44,7 +44,7 @@
1.20 return TRUE;
1.21 }
1.22
1.23 -gboolean esd_audio_process_buffer( audio_buffer_t buffer )
1.24 +gboolean audio_esd_process_buffer( audio_buffer_t buffer )
1.25 {
1.26 if( esd_handle != -1 ) {
1.27 write( esd_handle, buffer->data, buffer->length );
1.28 @@ -55,5 +55,5 @@
1.29 }
1.30 }
1.31
1.32 -struct audio_driver esd_audio_driver = { "esd", esd_audio_set_format, esd_audio_process_buffer };
1.33 +struct audio_driver audio_esd_driver = { "esd", audio_esd_set_format, audio_esd_process_buffer };
1.34
.