1.1 --- a/src/drivers/audio_esd.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/drivers/audio_esd.c Sun Mar 04 21:10:12 2012 +1000
1.4 #include "aica/audio.h"
1.7 -int esd_handle = -1;
1.8 -int esd_sample_size = 1;
1.9 +static int esd_handle = -1;
1.10 +static int esd_sample_size = 1;
1.13 -gboolean audio_esd_init()
1.14 +static gboolean audio_esd_init()
1.16 int format = DEFAULT_SAMPLE_FORMAT;
1.17 int rate = DEFAULT_SAMPLE_RATE;
1.22 -gboolean audio_esd_process_buffer( audio_buffer_t buffer )
1.23 +static gboolean audio_esd_process_buffer( audio_buffer_t buffer )
1.25 if( esd_handle != -1 ) {
1.26 write( esd_handle, buffer->data, buffer->length );
1.31 -gboolean audio_esd_shutdown()
1.32 +static gboolean audio_esd_shutdown()
1.39 -struct audio_driver audio_esd_driver = {
1.40 +static struct audio_driver audio_esd_driver = {
1.42 N_("Enlightened Sound Daemon driver"),
1.44 DEFAULT_SAMPLE_RATE,
1.45 DEFAULT_SAMPLE_FORMAT,
1.49 audio_esd_shutdown};
1.51 +AUDIO_DRIVER( "esd", audio_esd_driver );