Search
lxdream.org :: lxdream/src/aica/audio.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.h
changeset 700:4650d0c7f6f9
prev697:479b8c213f61
next736:a02d1475ccfd
author nkeynes
date Sun Jun 22 06:49:00 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Big cleanup of the command-line options
Add an actual manpage (*gasp*)
file annotate diff log raw
1.1 --- a/src/aica/audio.h Sun Jun 22 04:01:27 2008 +0000
1.2 +++ b/src/aica/audio.h Sun Jun 22 06:49:00 2008 +0000
1.3 @@ -21,6 +21,8 @@
1.4 #include <stdint.h>
1.5 #include <stdio.h>
1.6 #include <glib/gtypes.h>
1.7 +#include <glib/gi18n.h>
1.8 +
1.9
1.10 #ifdef __cplusplus
1.11 extern "C" {
1.12 @@ -75,6 +77,7 @@
1.13
1.14 typedef struct audio_driver {
1.15 char *name;
1.16 + char *description;
1.17 uint32_t sample_rate;
1.18 uint32_t sample_format;
1.19 gboolean (*init)( );
1.20 @@ -84,6 +87,12 @@
1.21 gboolean (*shutdown)( );
1.22 } *audio_driver_t;
1.23
1.24 +
1.25 +/**
1.26 + * Print the configured audio drivers to the output stream, one to a line.
1.27 + */
1.28 +void print_audio_drivers( FILE *out );
1.29 +
1.30 audio_driver_t get_audio_driver_by_name( const char *name );
1.31
1.32 /**
.