Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread fmoraes74
i noticed that you set the irq mask IPR_CH_0_LOOP|IPR_CH_0_HALF_LOOP. does it mean that the chip generates interrupts twice per buffer? if yes, what we need is to limit the number of periods to 2. The hardware can generate an interrupt at the beginning or the period (ptr = 0) and the middle

Re: [Alsa-devel] Emu10k1x driver

2004-05-14 Thread fmoraes74
the attached patch includes some fixes by me for the latest cvs, and changes the periods to 2. i'll apply it to cvs now. Is your patch for kernel 2.6? Francisco The best thing to hit the Internet in years - NetZero HiSpeed! Surf

Re: [Alsa-devel] Emu10k1x driver

2004-05-12 Thread fmoraes74
nice, i'll add this to alsa-driver tree. i guess pci/emu10k1 is the best location. That's fine. I had it under pci on my system just because it was easier. would you mind to change the indentation level to 8, as described in Documentation/CodingStyle? kernel people prefer to have the codes

[Alsa-devel] Emu10k1x driver

2004-05-11 Thread fmoraes74
Here's the first pass at the driver. I've tested it mainly with XMMS with the ALSA output plugin. alsaplayer didn't work, not sure why. I've also tested with the pcm test in alsa-lib which seems to be jumping, so that's another problem. I've removed the joystick support for now, but the only