Search
lxdream.org :: lxdream/src/aica/audio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.h
changeset 643:653b0a70f173
prev561:533f6b478071
next657:c4143facbfcb
author bhaal22
date Tue Feb 26 01:10:48 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Commit initial ALSA audio driver
Add init/shutdown stubs to audio driver structure
file annotate diff log raw
1.1 --- a/src/aica/audio.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/aica/audio.h Tue Feb 26 01:10:48 2008 +0000
1.3 @@ -68,12 +68,15 @@
1.4
1.5 typedef struct audio_driver {
1.6 char *name;
1.7 + gboolean (*init)( );
1.8 gboolean (*set_output_format)( uint32_t sample_rate, uint32_t format );
1.9 gboolean (*process_buffer)( audio_buffer_t buffer );
1.10 + gboolean (*close)( );
1.11 } *audio_driver_t;
1.12
1.13 extern struct audio_driver audio_null_driver;
1.14 extern struct audio_driver audio_esd_driver;
1.15 +extern struct audio_driver audio_alsa_driver;
1.16
1.17 audio_driver_t get_audio_driver_by_name( const char *name );
1.18
.