[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Flash plugin not producing sound



On 02/19/2012 03:20 PM, Florian Kulzer wrote:
On Sun, Feb 19, 2012 at 14:07:02 +0000, Sian Mountbatten wrote:
<snip>
That all looks OK; the problem with flashplayer is that it blindly uses
alsa card 0 to play its sound, regardless of how you configured your
desktop environment and/or pulseaudio. This means that you have to
reorder the cards (as far as alsa is concerned) if you want flashplayer
to use the CA0106. Try this sequence of commands as root or with sudo:

   modprobe -r snd_intel8x0
   modprobe -r snd_ca0106
   modprobe snd_ca0106 index=0
   modprobe snd_intel8x0 index=1

<snip>
The ordering of the cards can be made persistent across reboots by
creating a file in /etc/modprobe.d/ with the following content (three
lines):

# added by Sian on 2012-02-19 to ensure that CA0106 is card 0
options snd_ca0106 index=0
options snd_intel8x0 index=1

The first line with the comment is optional, of course. The file itself
should have the same owner (root:root) and permissions (-rw-r--r--) as
the rest of the files in /etc/modprobe.d/. The name of the file is up to
you, as long as it ends in ".conf"; I myself would use choose a name
like "local-reorder-alsa-cards.conf" to immediately identify the file as
a local (non-Debian) configuration file and provide a hint about its
purpose. The idea behind creating separate files for your custom module
options is to protect your settings from being overwritten during
package upgrades.


A very useful answer and I have implemented it entirely. Now I get sound. At last.
--
Sian Mountbatten
Algol 68 specialist


Reply to: