You are not logged in.
Pages: 1
Hi, I use a USB Audio Device on sliTaz 4.0 (cooking). It works fine, but the problem is that it works only in one instance. I mean if I try to listen to music while browsing the internet, I have sound only on one of those two options. Can anybody help me with this? I dont have a clue on where to start.
Offline
Try this:
1. Open a terminal program like Sakura and [c]su[/c] to root
2. Type [c]leafpad /etc/asound.conf[/c]
3. Paste the following:
[c]pcm.my_card {
type hw
card 0
# mmap_emulation true
}
pcm.dmixed {
type dmix
ipc_key 1024
# ipc_key_add_uid false # let multiple users share
# ipc_perm 0666 # IPC permissions for multi user sharing (octal, default 0600)
slave {
pcm "my_card"
# rate 48000
# period_size 512
}
}
pcm.dsnooped {
type dsnoop
ipc_key 2048
slave {
pcm "my_card"
# rate 48000
# period_size 128
}
}
pcm.asymed {
type asym
playback.pcm "dmixed"
capture.pcm "dsnooped"
}
pcm.pasymed {
type plug
slave.pcm "asymed"
}
pcm.dsp0 {
type plug
slave.pcm "asymed"
}
pcm.!default {
type plug
slave.pcm "asymed"
}[/c]
4. Save and restart the system. Sound should now work with multiple streams. Downside is that it doesn't work with every program out there, but it's pretty close.
Offline
This works with what I use: Seamonkey/Opera and alsa audio player. Thank you for your help!
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]