Page 2 of 2
Re: only one application can use sound
Posted: 5. May 2012, 15:56
by witek
I solved the issue by filling my .asoundrc with this below code from ALSA documentation
http://www.alsa-project.org/main/index.php/Asoundrc
Now I can use skype, flash and media player simultaneously.
Code: Select all
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
}
Re: only one application can use sound
Posted: 19. Jul 2012, 09:10
by maspai
thenktor wrote:gapan wrote:If you use ALSA for all applications, you won't have any problems like that.
As long as no application is configured to use the sound hardware directly (e.g. "hw:0,1").
i'm using acer aspire one 522 netbook, and vlc configuration only shows list of hardware for sound device:
- HD-Audio Generic: HDMI 0 (hw:0,3)
- HDA ATI SB: CONEXANT Analog (hw:1,0)
- HDA ATI SB: Conexant Digital (hw:1,1)
. i think the right one is the 3rd, which is pointed to hardware.
Re: [SOLVED] only one application can use sound
Posted: 19. Jul 2012, 09:31
by thenktor
Obviously you have 3 audio outputs: analogue, digital & HDMI. So you can configure VLC to use one of these outputs, e.g. chose the HDMI output if you connect your notebook to a TV via HDMI. Then your TV plays the sound.
Re: [SOLVED] only one application can use sound
Posted: 19. Jul 2012, 12:27
by maspai
thenktor wrote:Obviously you have 3 audio outputs: analogue, digital & HDMI. So you can configure VLC to use one of these outputs, e.g. chose the HDMI output if you connect your notebook to a TV via HDMI. Then your TV plays the sound.
the same problem, audacious and vlc can't play together. device list of audacious shows the same like vlc. i choose analogue because only that works.
Re: [SOLVED] only one application can use sound
Posted: 19. Jul 2012, 12:38
by gapan
Obviously analog is the only one that works because you don't have any hardware with a digital input to output to. You'll have to make sure that both audacious and vlc are set to use alsa.
Re: [SOLVED] only one application can use sound
Posted: 20. Jul 2012, 03:16
by maspai
gapan wrote:Obviously analog is the only one that works because you don't have any hardware with a digital input to output to. You'll have to make sure that both audacious and vlc are set to use alsa.
i did. the device list comes up only when i choose alsa. if i choose other, eg. default, no list appears.
once i chose pulseaudio in another distro - i forget what distro - and it worked. but thenktor said, it's supposed to work with alsa. therefore, i'm curious.