You are not logged in.
so heres what happened. i got new USB headphones. i got them set up as the default alsa sound device but now my problem is that i can only use one audio source at a time (video OR mp3 but not both at the same time...)
my lsusb is
[josh@my-computer ~]$ lsusb
Bus 008 Device 004: ID 043d:0078 Lexmark International, Inc. InkJet Color Printer
Bus 008 Device 002: ID 0609:031d SMK Manufacturing, Inc. eHome Infrared Receiver
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 004: ID 046d:0840 Logitech, Inc. QuickCam Express
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 005: ID 0b38:0003
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 009: ID 093a:2510 Pixart Imaging, Inc. Hama Optical Mouse
Bus 007 Device 008: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
what do i need to do to be able to use more then 1 sound source? if u need me to post any files let me know which ones and i'll post it. i never had this problem with my on board audio(hda intel)
Last edited by monkeyslayer56 (2010-02-26 13:13:42)
Offline
i solved it i had to add
pcm.dmixs51 {
type dmix
ipc_key 1024
ipc_key_add_uid false # let multiple users share
ipc_perm 0660 # IPC permissions (octal, default 0600)
slave {
pcm "hw:0,1" # see below
rate 48000
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.asym51 {
type asym
playback.pcm "dmixs51"
capture.pcm "hw:0,0" # this might be "dsnoop:0"
}
pcm.dsp0 {
type plug
slave.pcm "asym51"
}
to my ~/.asoundrc and now it works
Offline
Are you sure you had to add all of that? Dmix should be used by default.
I'm curious if something like this would work for you http://wiki.archlinux.org/index.php/Als … User_Basis
And you might want to tag your thread as solved.
I'm the type to fling myself headlong through the magical wardrobe, and then incinerate the ornate mahogany portal behind me with a Molotov cocktail.
Offline
i probbaly didn't have to add ALL of that but that was the only help from google i could get that supposedably used virtual surround sound and didn't steal the sound... and ya i read the dmix was supposed to load by default but i guess it wasn't. hopfully i'll get to learn how to configure alsa on my own so i don't have to copy/paste/system specific edit... btw here is my old .asoundrc that wouldn't let more then one divice use it(first on i found that supposedly enabled virtual surround sound)
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
pcm.!surround51 {
type vdownmix
slave.pcm "hw:1,0"
}
pcm.!surround40 {
type vdownmix
slave.pcm "hw:1,0"
}
Offline