You are not logged in.
Pages: 1
Hello
I'm new to linux
So i want to have software mixing using Dmix but i don't really know how do i setup my .asoundrc
Alsa works right now but i can have 2 applications sharing sounds with each other.
I have read some wikis but they are too advanced for me to figure out what to do ![]()
Here is my lsmod | grep snd:
snd_hda_codec_hdmi 24121 1
snd_hda_codec_realtek 195674 1
snd_hda_intel 23375 4
snd_hda_codec 89160 3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_hwdep 6389 1 snd_hda_codec
snd_pcm 74780 3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc 7153 2 snd_pcm,snd_hda_intel
snd_timer 19544 1 snd_pcm
snd 59214 15 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
soundcore 6210 1 sndand aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0.asoundrc is empty -.-
So, how can i enable Dmix to have software mixing? and how can i provide additional information if needed.
Thanks
Last edited by Viruser (2012-03-12 12:09:55)
Offline
I can't help you with your question (as I did not use dmix for many years), but an option which should allow software mixing out of the box is to use pulseaudio. If you use kde or gnome this should just work (after installing all the pulse-related packages), if you don't use a DE you might need to set up some more things first.
Offline
dmix works out of the box, no configuration necessary. It's possible that by trying to configure stuff instead of just letting things be you screwed something up. First thing to do - remove .asoundrc, /etc/asound.conf or any other such file.
Offline
dmix works out of the box, no configuration necessary.
Only for 2 speakers. To prove it, run these commands simultaneously, starting with the first one:
# speaker-test -c 2 -D default
# speaker-test -c 6 -D surround51 -t wav
See my ~/.asoundrc for a working solution.
Offline
So i have installed pulseaudio
It does work
But when i try starting wine, I lose audio for other programs , Or if i open other audio programs first, Wine has no sound
How can i fix that?
Edit: Fixed that by installing pulseaudio-alsa package
Problem solved
Thank you all
Last edited by Viruser (2012-03-12 12:11:00)
Offline
Pages: 1