OK, I found this solution while I was trying to get my sound card to use dmix to mix sounds, since alsa thought it was able to do hardware mixing but it never could.
First, edit/create ~/.asoundrc to include the following (nano ~/.asoundrc)
NOTE: This will cause alsa to use software mixing on cards with hardware mixing support... I don't know if this step is necessary to fix sync on cards with hardware mixing support.Code:pcm.!default { type plug slave.pcm "dmix" }
Install alsa-oss (sudo apt-get install alsa-oss). Then, run your browser prefixed with aoss (ie "aoss firefox") and your flash sync and/or lack-of-sound will be fixed.
For Firefox, you can have it automatically run it with aoss by editing /etc/environment (sudo nano /etc/environment) and adding
to the end of the file. Other browsers probably have similar methods, but I am not personally familiar with them.Code:FIREFOX_DSP=aoss
Bookmarks