From 41e72433edeac26487b00a94b3b493a800d5924c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 22 Aug 2008 01:12:18 +0200 Subject: Remove fix for bug 0003470 This fix is completely broken (introduces new segfaults) and the assert is tries to fix is superfluous anyway, so let's just remove this altogether. --- pulse/pcm_pulse.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'pulse') diff --git a/pulse/pcm_pulse.c b/pulse/pcm_pulse.c index 13cdd00..7d03420 100644 --- a/pulse/pcm_pulse.c +++ b/pulse/pcm_pulse.c @@ -587,18 +587,6 @@ static int pulse_hw_params(snd_pcm_ioplug_t * io, assert(pcm); assert(pcm->p); - //Resolving bugtrack ID 0003470 - if (!base) { - switch (snd_pcm_state(base)) { - case SND_PCM_STATE_SETUP: - case SND_PCM_STATE_PREPARED: - break; - default: - assert(!pcm->stream); - break; - } - } - pa_threaded_mainloop_lock(pcm->p->mainloop); pcm->frame_size = -- cgit