Update of /cvsroot/alsa/alsa-driver/pci/emu10k1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21261
Modified Files:
emu10k1x.c
Log Message:
- fixed the channels to stereo only.
- enable interrupts for all voices.
Index: emu10k1x.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/emu10k1/emu10k1x.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- emu10k1x.c 24 May 2004 17:18:21 -0000 1.2
+++ emu10k1x.c 25 May 2004 12:22:31 -0000 1.3
@@ -182,7 +182,7 @@
.rates = SNDRV_PCM_RATE_48000,
.rate_min = 48000,
.rate_max = 48000,
- .channels_min = 1,
+ .channels_min = 2,
.channels_max = 2,
.buffer_bytes_max = (32*1024),
.period_bytes_min = 64,
@@ -728,9 +728,9 @@
outl(HCFG_LOCKSOUNDCACHE|HCFG_AUDIOENABLE, chip->port+HCFG);
- snd_emu10k1x_intr_enable(chip, (INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP));
- // snd_emu10k1x_intr_enable(chip, (INTE_CH_0_LOOP<<1);
- // snd_emu10k1x_intr_enable(chip, INTE_CH_0_LOOP<<2);
+ snd_emu10k1x_intr_enable(chip, (INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP) |
+ ((INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP) << 1) |
+ ((INTE_CH_0_LOOP|INTE_CH_0_HALF_LOOP) << 2));
if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL,
chip, &ops)) < 0) {
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog