[pulseaudio-commits] r2074 - /trunk/src/pulse/stream.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Nov 22 07:09:03 PST 2007


Author: lennart
Date: Thu Nov 22 16:09:00 2007
New Revision: 2074

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2074&root=pulseaudio&view=rev
Log:
fix uploading of samples into PA. Problem discovered by Colin Guthrie

Modified:
    trunk/src/pulse/stream.c

Modified: trunk/src/pulse/stream.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/stream.c?rev=2074&root=pulseaudio&r1=2073&r2=2074&view=diff
==============================================================================
--- trunk/src/pulse/stream.c (original)
+++ trunk/src/pulse/stream.c Thu Nov 22 16:09:00 2007
@@ -586,7 +586,7 @@
         }
     }
 
-    if (s->context->version >= 12) {
+    if (s->context->version >= 12 && s->direction != PA_STREAM_UPLOAD) {
         pa_sample_spec ss;
         pa_channel_map cm;
         const char *dn = NULL;




More information about the pulseaudio-commits mailing list