Re: [AD] another tiny alsa fix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, 2004-05-18 at 07:55, Eric Botcazou wrote:
> > Since switching to the plug:dmix device, the mixer init complains about
> > an unknown mixing device. I don't think it's possible to derive the
> > mixer device used for plug:dmix (or even "default", probably it was just
> > conincidence it worked, when both were named "default"), so I introduced
> > another config var instead. (just in case. it shouldn't normally get
> > used, because set_volume no longer changes the HW volume anyway, so the
> > HW mixer is useless anyway, which is a very good thing.)
> 
> You also need to add the new variable to allegro.cfg and to the docs.
> 

Attached. I also noticed I had not updated allegro.cfg for the JACK
driver, the patch fixes that as well.

-- 
Elias Pschernig <elias@xxxxxxxxxx>
Index: allegro.cfg
===================================================================
RCS file: /cvsroot/alleg/allegro/allegro.cfg,v
retrieving revision 1.50
diff -u -r1.50 allegro.cfg
--- allegro.cfg	9 Jan 2004 07:04:47 -0000	1.50
+++ allegro.cfg	19 May 2004 16:53:40 -0000
@@ -301,6 +301,7 @@
 #  ESDD     - Enlightened Sound Daemon
 #  ARTS     - aRts (Analog Real-Time Synthesizer)
 #  ALSA     - ALSA Sound System
+#  JACK     - JACK Audio Server
 #
 # BeOS digital sound drivers:
 #
@@ -481,6 +482,11 @@
 
 
 
+# Unix only: mixer device name for the ALSA 0.9 driver (default: default)
+alsa_mixer_device = 
+
+
+
 # Unix only: mixer element name for the ALSA 0.9 driver (default: PCM)
 alsa_mixer_elem = 
 
@@ -507,6 +513,11 @@
 
 
 
+# Unix only: name for the JACK client (default: allegro)
+jack_client_name =
+
+
+
 # BeOS only: MIDI synthesizer instruments quality (0=low, 1=high)
 be_midi_quality = 
 
Index: docs/src/allegro._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/allegro._tx,v
retrieving revision 1.226
diff -u -r1.226 allegro._tx
--- docs/src/allegro._tx	15 May 2004 22:01:06 -0000	1.226
+++ docs/src/allegro._tx	19 May 2004 16:54:55 -0000
@@ -2027,6 +2027,10 @@
    Unix only: device name for the ALSA 0.9 sound driver. The format is
    <driver>[:<card>,<device>], for example: `hw:0,1'.
 <li>
+alsa_mixer_device = x<br>
+   Unix only: mixer device name for the ALSA 0.9 sound driver. The
+   default is "default".
+<li>
 alsa_mixer_elem = x<br>
    Unix only: mixer element name for the ALSA 0.9 driver. The default
    is PCM.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/