filename | src/aica/audio.h |
changeset | 700:4650d0c7f6f9 |
prev | 697:479b8c213f61 |
next | 736:a02d1475ccfd |
author | nkeynes |
date | Sun Jun 22 06:49:00 2008 +0000 (15 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 +00001.2 +++ b/src/aica/audio.h Sun Jun 22 06:49:00 2008 +00001.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.10 #ifdef __cplusplus1.11 extern "C" {1.12 @@ -75,6 +77,7 @@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.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.32 /**
.