diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-22 01:12:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-03 20:25:36 +0200 |
commit | 41e72433edeac26487b00a94b3b493a800d5924c (patch) | |
tree | db90c0ee9f1fc8bf53ac0122b80d15ed3b7598cb | |
parent | 31adc7c069b3b73a44e00e681d16330ed993c51f (diff) |
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.
-rw-r--r-- | pulse/pcm_pulse.c | 12 |
1 files changed, 0 insertions, 12 deletions
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 = |