changeset 3549:a5b1084e7f38 trunk

C99 initialisers
author William Pitcock <nenolod@atheme.org>
date Tue, 18 Sep 2007 11:58:09 -0500
parents 864e6ed1fd4a
children 6b0be1d088e6 d4f9e45c1e27
files src/audacious/output.c
diffstat 1 files changed, 14 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/output.c	Tue Sep 18 11:03:06 2007 -0500
+++ b/src/audacious/output.c	Tue Sep 18 11:58:09 2007 -0500
@@ -57,27 +57,21 @@
 };
 
 OutputPlugin psuedo_output_plugin = {
-    NULL,
-    NULL,
-    "XMMS reverse compatibility output plugin",
-    NULL,
-    NULL,
-    NULL,
-    NULL,
-    TRUE,
-    output_get_volume,
-    output_set_volume,
-    output_open_audio,
-    output_write_audio,
-    output_close_audio,
+    .description = "XMMS reverse compatibility output plugin",
+    .get_volume = output_get_volume,
+    .set_volume = output_set_volume,
+
+    .open_audio = output_open_audio,
+    .write_audio = output_write_audio,
+    .close_audio = output_close_audio,
 
-    output_flush,
-    output_pause,
-    output_buffer_free,
-    output_buffer_playing,
-    get_output_time,
-    get_written_time,
-    NULL
+    .flush = output_flush,
+    .pause = output_pause,
+
+    .buffer_free = output_buffer_free,
+    .buffer_playing = output_buffer_playing,
+    .output_time = get_output_time,
+    .written_time = get_written_time,
 };
 
 OutputPlugin *