Update of /cvsroot/alsa/alsa-driver/pci/vx222
In directory sc8-pr-cvs1:/tmp/cvs-serv20303

Modified Files:
        vx222.c 
Log Message:
added ibl module option to change IBL.



Index: vx222.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/vx222/vx222.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vx222.c     25 Feb 2003 15:09:29 -0000      1.2
+++ vx222.c     17 Mar 2003 09:07:54 -0000      1.3
@@ -42,6 +42,7 @@
 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;      /* ID for this card */
 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;     /* Enable this card */
 static int mic[SNDRV_CARDS]; /* microphone */
+static int ibl[SNDRV_CARDS]; /* microphone */
 
 MODULE_PARM(index, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
 MODULE_PARM_DESC(index, "Index value for Digigram " CARD_NAME " soundcard.");
@@ -55,6 +56,9 @@
 MODULE_PARM(mic, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
 MODULE_PARM_DESC(mic, "Enable Microphone.");
 MODULE_PARM_SYNTAX(mic, SNDRV_ENABLED "," SNDRV_BOOLEAN_FALSE_DESC);
+MODULE_PARM(ibl, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
+MODULE_PARM_DESC(ibl, "Capture IBL size.");
+MODULE_PARM_SYNTAX(ibl, SNDRV_ENABLED);
 
 /*
  */
@@ -229,6 +233,7 @@
                snd_card_free(card);
                return err;
        }
+       vx->core.ibl.size = ibl[dev];
 
        sprintf(card->longname, "%s at 0x%lx & 0x%lx, irq %i",
                card->shortname, vx->port[0], vx->port[1], vx->core.irq);



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to