Re: [Alsa-user] alsa-lib and RME HDSP9652
Brought to you by:
perex
|
From: Andre S. <and...@io...> - 2012-08-07 01:05:21
|
Am Tue, 7 Aug 2012 00:11:37 +0200 schrieb Anders Genell <and...@gm...>: > > Below are examples of the error I got from mplayer and OpenAL > respectively. mplayer -ao alsa file.wav > [AO_ALSA] alsa-lib: pcm_hw.c:326:(snd_pcm_hw_hw_params) > SNDRV_PCM_IOCTL_HW_PARAMS failed (-16): Device or resource busy > [AO_ALSA] Unable to set hw-parameters: Device or resource busy > > OpenAL (via chromium-bsu) > AL lib: alsa.c:642: set params failed: Device or resource busy > > Any ideas? > Sounds like sth. is already using the device. Try: $ cat /proc/asound/cardX/pcm0p/sub0/status and check the result (replace X with the right card number). It should report "closed", otherwise you will get the PID of the process that is using it. Regards, Andre |