revision 91:61bb3ee00cf8
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 91:61bb3ee00cf8 |
parent | 90:88e4872c2f58 |
child | 92:108450d84ce8 |
author | nkeynes |
date | Sun Feb 05 04:01:55 2006 +0000 (17 years ago) |
Canonicalize typedef struct definition
![]() | src/aica/audio.h | view | annotate | diff | log |
1.1 --- a/src/aica/audio.h Sun Jan 22 22:42:53 2006 +00001.2 +++ b/src/aica/audio.h Sun Feb 05 04:01:55 2006 +00001.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.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.24 extern struct audio_driver null_audio_driver;1.25 extern struct audio_driver esd_audio_driver;
.