]> git.alsa-project.org Git - alsa-plugins.git/commitdiff
Remove fix for bug 0003470
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Aug 2008 23:12:18 +0000 (01:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Sep 2008 18:25:36 +0000 (20:25 +0200)
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

index 13cdd008112b8a379450d7eea031dacf215775a3..7d0342021c08f26eb0f472decfc0a8170036b86e 100644 (file)
@@ -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 =