Re: How to configure MPlayer Plugin to use a second sound device?
Kevin DeKorte <[email protected]>
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Henk van Velden wrote:
> I can find the results of the above in $HOME/.mplayer/gui.conf:
> ao_oss_mixer = "/dev/mixer1"
> ao_oss_device = "/dev/dsp1"
>
> And now for MPlayer Plugin (3.31-0.pm.2) in Firefox (1.0.6-16).
> This still uses the standard sound device so it seems to have a different
> configuration file(s).
> http://mplayerplug-in.sourceforge.net/config.php mentions
> $HOME/.mplayer/mplayerplug-in.conf and which parameters can be entered there.
> The two paremeters mentioned above are not in the list. I tried them out
> anyhow, but now no sound at all, so I removed that.
>
> Is there any possibility to configure The MPlayer Plugin to use other devices
> and how is it done.
>
> Thanks for looking into this problem.
>
I think that adding this line to mplayerplug-in.conf will do what you want
ao=oss:/dev/dsp1:/dev/mixer1
You can test it first with mplayer using this
mplayer -ao oss:/dev/dsp1:/dev/mixer1 {some audio file}
You may also want to try the alsa driver
ao=alsa:device=hw=1.0
Which tells it to use the second card,first device. You might need to
play around with the numbers... The file /proc/asound/cards should list
your cards and then the file /proc/asounc/devices will list devices.
You'll want to look for the 'digital audio playback' listings and then
look for [ #- %] where # is the card # and % is the device and that will
tell you which ones to try.
mplayer -ao alsa:device=hw=1.0 {some audio file}
Will allow you to test this out and get it working. I would recommend
ALSA over OSS.
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org
iD8DBQFGUuaa6w2kMH0L1dERAqoxAJ45mi6pfpQrDXjqNi1Ufs4givTV9ACeLl1L
FeGIdbIG/D9JWy1Ls/HlPMw=
=VCAn
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/