changeset 1674:6a5e0d24a474

branch merge
author mf0102 <0102@gmx.at>
date Sun, 09 Sep 2007 21:47:29 +0200
parents 0050e6408d9e (current diff) 416cca12988f (diff)
children 923615bf2f2f
files
diffstat 3 files changed, 16 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/.hgtags	Sun Sep 09 21:46:58 2007 +0200
+++ b/.hgtags	Sun Sep 09 21:47:29 2007 +0200
@@ -1,3 +1,4 @@
 fbeb9446aa2e626eb1944fd872c4995cf3182b43 audacious-plugins-1.4.0-DR1
 76c778a3a5fe18c8ea5ddb0c361270a38452edc7 audacious-plugins-1.4.0-dr1
 5f892afeb8e1ff5e60f32449359a59eda383f14a audacious-plugins-1.4.0-dr2
+49704b7f41db4070965a16fd6856a7e4760dbc1c audacious-plugins-1.4.0-dr3
--- a/src/pulse_audio/pulse_audio.c	Sun Sep 09 21:46:58 2007 +0200
+++ b/src/pulse_audio/pulse_audio.c	Sun Sep 09 21:47:29 2007 +0200
@@ -704,27 +704,21 @@
 }
 
 static OutputPlugin pulse_op = {
-        NULL,
-        NULL,
-        "PulseAudio Output Plugin",
-        NULL,
-	NULL,
-        pulse_about,
-        NULL,
-        pulse_get_volume,
-        pulse_set_volume,
-        pulse_open,
-        pulse_write,
-        pulse_close,
-        pulse_flush,
-        pulse_pause,
-        pulse_free,
-        pulse_playing,
-        pulse_get_output_time,
-        pulse_get_written_time,
-	NULL,
+        .description = "PulseAudio Output Plugin",
+        .about = pulse_about,
+        .get_volume = pulse_get_volume,
+        .set_volume = pulse_set_volume,
+        .open_audio = pulse_open,
+        .write_audio = pulse_write,
+        .close_audio = pulse_close,
+        .flush = pulse_flush,
+        .pause = pulse_pause,
+        .buffer_free = pulse_free,
+        .buffer_playing = pulse_playing,
+        .output_time = pulse_get_output_time,
+        .written_time = pulse_get_written_time,
 };
 
 OutputPlugin *pulse_oplist[] = { &pulse_op, NULL };
 
-DECLARE_PLUGIN(pulse, NULL, NULL, NULL, pulse_oplist, NULL, NULL, NULL, NULL);
+SIMPLE_OUTPUT_PLUGIN(pulser, pulse_oplist);
--- a/src/vtx/vtx.c	Sun Sep 09 21:46:58 2007 +0200
+++ b/src/vtx/vtx.c	Sun Sep 09 21:47:29 2007 +0200
@@ -325,4 +325,4 @@
 
 InputPlugin *vtx_iplist[] = { &vtx_ip, NULL };
 
-DECLARE_PLUGIN(vtx, NULL, NULL, vtx_iplist, NULL, NULL, NULL, NULL, NULL);
+SIMPLE_INPUT_PLUGIN(vtx, vtx_iplist);