[pulseaudio-commits] src/pulse

Arun Raghavan arun at kemper.freedesktop.org
Fri Sep 21 00:43:12 PDT 2012


 src/pulse/stream.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit f72a32151cdbac3ab41d0fe710418cc19cbb4c8b
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Fri Sep 21 10:13:55 2012 +0800

    stream: Allow record streams to start muted
    
    This check was valid before we introduced per-source-output volumes, so
    dropping it now. Thanks to Alban Browaeys <prahal at yahoo.com> for
    catching this.

diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index 39338c1..2b6d306 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -1213,7 +1213,6 @@ static int create_stream(
      * when they are passed but actually not supported. This makes
      * client development easier */
 
-    PA_CHECK_VALIDITY(s->context, direction == PA_STREAM_PLAYBACK || !(flags & (PA_STREAM_START_MUTED)), PA_ERR_INVALID);
     PA_CHECK_VALIDITY(s->context, direction == PA_STREAM_RECORD || !(flags & (PA_STREAM_PEAK_DETECT)), PA_ERR_INVALID);
     PA_CHECK_VALIDITY(s->context, !volume || s->n_formats || (pa_sample_spec_valid(&s->sample_spec) && volume->channels == s->sample_spec.channels), PA_ERR_INVALID);
     PA_CHECK_VALIDITY(s->context, !sync_stream || (direction == PA_STREAM_PLAYBACK && sync_stream->direction == PA_STREAM_PLAYBACK), PA_ERR_INVALID);



More information about the pulseaudio-commits mailing list