Re: [AD] ALSA and dmix - small fix |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> After tweaking the driver a bit, it turned out that after
> initialization, ALSA was on the state "SND_PCM_STATE_SUSPENDED". Adding
> "snd_pcm_start(pcm_handle)" in the initialization of the driver made
> it work perfectly. I attached the corresponding one-line patch. I'm no
> expert on ALSA, so whoever wrote the driver should check that this won't
> break anything... it however seems harmless enough!
I'm not either. Elias is the resident ALSA expert, so he has the final
word on this.
--
Eric Botcazou