1
Index: alsa-plugins-1.0.15/pulse/pcm_pulse.c
2
===================================================================
3
--- alsa-plugins-1.0.15.orig/pulse/pcm_pulse.c 2008-02-29 12:25:11.000000000 -0500
4
+++ alsa-plugins-1.0.15/pulse/pcm_pulse.c 2008-02-29 12:27:40.000000000 -0500
6
static int pulse_hw_params(snd_pcm_ioplug_t *io, snd_pcm_hw_params_t *params)
8
snd_pcm_pulse_t *pcm = io->private_data;
9
+ snd_pcm_t *base = io->pcm;
15
+ //Resolving bugtrack ID 0003470
17
+ switch (snd_pcm_state(base)) {
18
+ case SND_PCM_STATE_SETUP:
19
+ case SND_PCM_STATE_PREPARED:
22
+ assert(!pcm->stream);
27
pa_threaded_mainloop_lock(pcm->p->mainloop);
29
- assert(!pcm->stream);
31
pcm->frame_size = (snd_pcm_format_physical_width(io->format) * io->channels) / 8;