Re: [AD] [linux] ALSA detection can hang |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2002-02-13, Peter Wang <tjaden@xxxxxxxxxx> wrote:
> On 2002-02-11, Martijn Versteegh <m.versteegh@xxxxxxxxxx> wrote:
> >
> > I noticed the digital-sound autodetection code for ALSA hangs when
> > the pcm device is busy, for example when another program is using it.
...
>
> Try (SND_PCM_OPEN_PLAYBACK | SND_PCM_OPEN_NONBLOCK) and tell me how
> it goes.
I committed the change.