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.

USB Audio Device
(3 posts) (2 voices)-
Posted 11 years ago #
-
Try this:
1. Open a terminal program like Sakura andsu
to root
2. Typeleafpad /etc/asound.conf
3. Paste the following:
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" }
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.
Posted 11 years ago # -
This works with what I use: Seamonkey/Opera and alsa audio player. Thank you for your help!
Posted 11 years ago #
Reply
You must log in to post.