[MPlayer-cvslog] r25411 - trunk/libao2/ao_pulse.c

reimar subversion at mplayerhq.hu
Sat Dec 15 17:58:26 CET 2007


Author: reimar
Date: Sat Dec 15 17:58:25 2007
New Revision: 25411

Log:
Documentation for waitop function


Modified:
   trunk/libao2/ao_pulse.c

Modified: trunk/libao2/ao_pulse.c
==============================================================================
--- trunk/libao2/ao_pulse.c	(original)
+++ trunk/libao2/ao_pulse.c	Sat Dec 15 17:58:25 2007
@@ -91,6 +91,12 @@ static void success_cb(pa_stream *s, int
     pa_threaded_mainloop_signal(mainloop, 0);
 }
 
+/**
+ * \brief waits for a pulseaudio operation to finish, frees it and
+ *        unlocks the mainloop
+ * \param op operation to wait for
+ * \return 1 if operation has finished normally (DONE state), 0 otherwise
+ */
 static int waitop(pa_operation *op) {
     pa_operation_state_t state;
     if (!op) return 0;



More information about the MPlayer-cvslog mailing list