| Summary: | www-client/firefox-17.0.6 no sound when alsa plugins used | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Francisco Blas Izquierdo Riera (RETIRED) <klondike> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info firefox | ||
Ok delving a little bit more in it it seems that the issue only arises when pcm.dmixer contains:
pcm.dmixer {
type dmix
ipc_key 1037 # must be unique!
ipc_key_add_uid false # let multiple users share
ipc_perm 0666 # IPC permissions for multi-user sharing (octal, default 0600)
slave {
pcm "hw:0,0" # you cannot use a "plug" device here, darn.
# period_time 0
#period_size 2048 # must be power of 2
# buffer_size 8192 # dito. It
format "S32_LE"
# periods 128 # dito.
#rate 192000 # with rate 8000 you *will* hear,
rate 48000 # with rate 8000 you *will* hear,
# if ossmix is used :)
}
# bindings are cool. This says, that only the first
# two channels are to be used by dmix, which is
# enough for (most) oss apps and also lets
# multichannel chios work much faster:
bindings {
0 0 # from 0 => to 0
1 1 # from 1 => to 1
}
}
Changing format "S32_LE" to format "S16_LE" fixes the issue. The thing is that only firefox has issues with this output format.
User reports problem is resolved for the moment. |
Created attachment 350592 [details] emerge --info firefox Firefox refuses to play sounds (i.e. HTML5 without flash) when a .asoundrc using plugins is used. All the other applications and the flash plugin work as expected. The following .asoundrc works: pcm.!default { type plug slave { pcm "hw:0,0" } } But if we use an alsa plugin like dmix it won't work, for example: pcm.!default { type plug slave { pcm "dmixer" } } pcm.dmixer { type dmix ipc_key 1037 ipc_key_add_uid false ipc_perm 0666 slave { pcm "hw:0,0" } }