changeset 1627:abe9f63c4e8b

esd: C99 initialisers
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 04:59:04 -0500
parents db87d84ed8f3
children 0a3b3b6430b1
files src/esd/esd.c
diffstat 1 files changed, 16 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/esd/esd.c	Fri Sep 07 04:46:45 2007 -0500
+++ b/src/esd/esd.c	Fri Sep 07 04:59:04 2007 -0500
@@ -21,25 +21,22 @@
 
 
 OutputPlugin esd_op = {
-    NULL,
-    NULL,
-    "ESD Output Plugin",
-    esdout_init,
-    NULL,
-    esdout_about,
-    esdout_configure,
-    esdout_get_volume,
-    esdout_set_volume,
-    esdout_open,
-    esdout_write,
-    esdout_close,
-    esdout_flush,
-    esdout_pause,
-    esdout_free,
-    esdout_playing,
-    esdout_get_output_time,
-    esdout_get_written_time,
-    esdout_tell
+    .description = "ESD Output Plugin",
+    .init = esdout_init,
+    .about = esdout_about,
+    .configure = esdout_configure,
+    .get_volume = esdout_get_volume,
+    .set_volume = esdout_set_volume,
+    .open_audio = esdout_open,
+    .write_audio = esdout_write,
+    .close_audio = esdout_close,
+    .flush = esdout_flush,
+    .pause = esdout_pause,
+    .buffer_free = esdout_free,
+    .buffer_playing = esdout_playing,
+    .output_time = esdout_get_output_time,
+    .written_time = esdout_get_written_time,
+    .tell_audio = esdout_tell
 };
 
 OutputPlugin *esd_oplist[] = { &esd_op, NULL };