Search
lxdream.org :: lxdream :: r91:61bb3ee00cf8
lxdream 0.9.1
released Jun 29
Download Now
changeset91:61bb3ee00cf8
parent90:88e4872c2f58
child92:108450d84ce8
authornkeynes
dateSun Feb 05 04:01:55 2006 +0000 (14 years ago)
Canonicalize typedef struct definition
src/aica/audio.h
1.1 --- a/src/aica/audio.h Sun Jan 22 22:42:53 2006 +0000
1.2 +++ b/src/aica/audio.h Sun Feb 05 04:01:55 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio.h,v 1.4 2006-01-17 12:54:02 nkeynes Exp $
1.6 + * $Id: audio.h,v 1.5 2006-02-05 04:01:55 nkeynes Exp $
1.7 *
1.8 * Audio engine, ie the part that does the actual work.
1.9 *
1.10 @@ -61,13 +61,11 @@
1.11 char data[0];
1.12 } *audio_buffer_t;
1.13
1.14 -struct audio_driver {
1.15 +typedef struct audio_driver {
1.16 char *name;
1.17 gboolean (*set_output_format)( uint32_t sample_rate, uint32_t format );
1.18 gboolean (*process_buffer)( audio_buffer_t buffer );
1.19 -};
1.20 -
1.21 -typedef struct audio_driver *audio_driver_t;
1.22 +} *audio_driver_t;
1.23
1.24 extern struct audio_driver null_audio_driver;
1.25 extern struct audio_driver esd_audio_driver;
.