[alsa-devel] playback open error:

Ashlesha Shintre ashlesha.shintre at gmail.com
Wed Apr 25 17:20:34 CEST 2007

Sorry forgot to add that

> fuser -v /dev/dsp
gives no output --


On 25/04/07, Ashlesha Shintre <ashlesha.shintre at gmail.com> wrote:
> Hi,
> I m trying to run the simple playback program that I have attached with
> this email -- and I get the following error:
> ALSA lib pcm_dmix.c:862:(snd_pcm_dmix_open) unable to open slave
> > Playback open error: Device or resource busy
> I am running this program as a function called wavplay (attached) --
> however, if i run the same program, as part of the main function, then there
> is no problem --
> What i mean is that if i basically just paste the code for the wavplay
> function in main and provide the input values (the pcm data to be played) --
> then it can very well open the default device and play the pcm data that is
> being passed to it!
> Any pointers?
> Thanks,
> Ashlesha.

More information about the Alsa-devel mailing list