summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/polyp/stream.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/polyp/stream.c b/src/polyp/stream.c
index c86a200a..2c4e882c 100644
--- a/src/polyp/stream.c
+++ b/src/polyp/stream.c
@@ -464,7 +464,6 @@ static int create_stream(
PA_STREAM_INTERPOLATE_TIMING|
PA_STREAM_NOT_MONOTONOUS|
PA_STREAM_AUTO_TIMING_UPDATE : 0))), PA_ERR_INVALID);
- PA_CHECK_VALIDITY(s->context, direction == PA_STREAM_PLAYBACK || flags == 0, PA_ERR_INVALID);
PA_CHECK_VALIDITY(s->context, !volume || 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);