From: Lennart Poettering Date: Thu, 21 Aug 2008 23:12:18 +0000 (+0200) Subject: Remove fix for bug 0003470 X-Git-Tag: v1.0.18rc3~16 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=41e72433edeac26487b00a94b3b493a800d5924c;p=alsa-plugins.git 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. --- 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 =