Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa, Intel HD Audio and DMIX problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Ginta
Apprentice
Apprentice


Joined: 17 Feb 2006
Posts: 152
Location: Spain

PostPosted: Sat Dec 06, 2014 3:43 am    Post subject: Alsa, Intel HD Audio and DMIX problem Reply with quote

I am trying to have multiple sounds in my kde installation (I think it is not really related to KDE).

That is enabled via dmix as I already red over the internet, but my problem is that I can only listen to one thing at a time and I don't really know how to fix it.

I can't listen to mpd music and watch youtube video for instance, or I can't listen to music and then I don't hear any kde sounds after I stop music playback.

I have tried this in my .asoundrc:

Code:
pcm.!default {
    type plug
    slave.pcm "dmix:CARD=0,DEVICE=0,RATE=48000"
}


Also tried with DEVICE=1 with no luck.

aplay -L;
Quote:
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=PCH
HDA Intel PCH, ALC892 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output


aplay --list-devices:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


I am tired of testing things and I don't really know how to do it.

Any help will be appreciated.
_________________
Some people should use emerge brain on theirselves...
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Sat Dec 06, 2014 4:56 pm    Post subject: Reply with quote

You did not look for the right thread... because you can found useful links to Paul B. asoundrc files in the forums. I cannot remember a thread in particular, so you should search in the forum. Arch Wiki could almost suffice for that as well.

Just follow my sig and jump to dotfiles.
And then use the following default instead of mine and you should be fine. Of course you can just copy what you need

Code:

pcm.!default { type plug; slave.pcm dmixer }
ctl.!default { type hw  ; card PCH }


Actually you just need to define `pdm.pch' and `pcm.dmixer' and its slave... easy when you're accustomed to ALSA configuration.

I do remember having the same issue on my first attempt.
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum