You are not logged in.
Pages: 1
Topic closed
Hi,
I can't get media players to play audio through 1 of soundcards:
There's 2 soundcards: Juli@ and CMI8738 (for a headset).
Now for VLC:
$ vlc --aout alsa --alsa-audio-device=plughw:1,0 sample.avi
plays fine (sound goes through CMI8738), but:
$ vlc --aout alsa --alsa-audio-device=plughw:0,0 sample.avi
VLC media player 1.1.8 The Luggage (revision exported)
....
[0x96a17dc] alsa audio output error: unable to commit hardware configuration (Device or resource busy)
ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
Same picture with mplayer.
*Sound through CMI8738 works fine
*Firefox picks up Juli@ as default and plays flash videos with audio output through it just fine
My setup:
$ cat /etc/modprobe.d/alsa.conf
options snd slots=snd-ice1724,snd-cmipci
$ cat /proc/asound/modules
0 snd_ice1724
1 snd_cmipci
Not using .asoundrc file. No JACK, Pulse or anything - pure alsa.
So far it's narrowing down to alsa "Device or resource busy" issue, but i can't figure out what is it busy with There's no other apps using alsa at the time of testing. I also tried to test right after reboot, still no luck.
Any help/search directions would be appreciated.
Last edited by nesk (2011-04-05 05:04:41)
Offline
bump
Offline
You should stop using alsa and start using OSS. I've never had any issues with OSS.
Offline
My card is not supported by OSS.
Also, i want to make alsa work
Offline
Device or resource busy
Show the processes:
fuser -fv /dev/snd/* /dev/dsp*
Here's my ~/.asoundrc, for ideas.
Offline
Thanks brebs,
Solved it with~$HOME/.asoundrc :
pcm_slave.slavej {
pcm "hw:0"
channels 2
rate 44100
}
pcm.plugj {
type plug
slave slavej
}
Good read for those troubleshooting alsa:
http://www.volkerschatz.com/noise/alsa.html
Offline
Thanks brebs,
Solved it with~$HOME/.asoundrc :pcm_slave.slavej { pcm "hw:0" channels 2 rate 44100 } pcm.plugj { type plug slave slavej }
Good read for those troubleshooting alsa:
http://www.volkerschatz.com/noise/alsa.html
Worked for me. Thanks
Offline
chefarov Nice to know that even after 6 years someone got some use out of the topic. However please be aware that necroposting, especially without any real new input, is frowned upon and might lead to a ban on further offenses.
You might want to familiarize yourself with our Code of Conduct
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
Offline
Pages: 1
Topic closed