Re: [Alsa-devel] EMU10K1 and the extra voice

2004-06-07 Thread Jaroslav Kysela
On Sun, 6 Jun 2004, Glenn Maynard wrote: On Sun, Jun 06, 2004 at 12:40:31PM +0200, Jaroslav Kysela wrote: Any relationship to the fact that I can only allocate 21 subdevices with ALSA, but 31 with DirectSound? Yes, 64 / 3 = 21 . That stinks (but if it's necessary for decent

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Clemens Ladisch
Roc Wu wrote: # ./aplay -t wav -f U8 -r 22050 alarm.wav Playing WAVE 'alarm.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono ALSA lib pcm_plug.c:727:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'default' aplay: set_params:832: Sample format non available And the

Re: [Alsa-devel] limits

2004-06-07 Thread Clemens Ladisch
Florin Andrei wrote: What's the max number of cards in a system that can be used by ALSA simultaneously? 8 What's the max number of MIDI ports that's supported by ALSA? There can be up to 8 rawmidi devices per card, but each device can have an unlimited number of subdevices. OSS emulation

Re: [Alsa-devel] limits

2004-06-07 Thread Jaroslav Kysela
On Mon, 7 Jun 2004, Clemens Ladisch wrote: Florin Andrei wrote: What's the max number of cards in a system that can be used by ALSA simultaneously? The answers to the questions above - are they in the docs? Use the Source, Luke! :-) Note that applications shouldn't rely on these

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Roc Wu
--- Clemens Ladisch [EMAIL PROTECTED] Roc Wu wrote: # ./aplay -t wav -f U8 -r 22050 alarm.wav Playing WAVE 'alarm.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono ALSA lib pcm_plug.c:727:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'default' aplay:

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Russell King
On Mon, Jun 07, 2004 at 05:25:22PM +0800, Roc Wu wrote: --- Clemens Ladisch [EMAIL PROTECTED] µÄÕýÎÄ£º Roc Wu wrote: # ./aplay -t wav -f U8 -r 22050 alarm.wav Playing WAVE 'alarm.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono ALSA lib pcm_plug.c:727:(snd_pcm_plug_hw_refine_schange)

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Jaroslav Kysela
On Mon, 7 Jun 2004, Russell King wrote: Actually, I disagree. It's an ALSA bug. The warning is created if the AACI close method is called while the DMA or IO is still running. If DMA is still running here, we've already freed the DMA buffer, so we're either reading from or writing to memory

[Alsa-devel] Developer docs missing from ALSA web server - was:Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread James Courtier-Dutton
Roc Wu wrote: Unable to find an usable access for 'default' aplay: set_params:832: Sample format non available Yes. Thanks for your replay. Maybe I should send the mail to arm-linux mailist. PS. Could you recommend some docs about the ALSA internals and Low level drivers? There are too many docs

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Takashi Iwai
At Mon, 7 Jun 2004 12:43:01 +0200 (CEST), Jaroslav wrote: On Mon, 7 Jun 2004, Russell King wrote: Actually, I disagree. It's an ALSA bug. The warning is created if the AACI close method is called while the DMA or IO is still running. If DMA is still running here, we've already freed

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Takashi Iwai
At Mon, 7 Jun 2004 14:08:17 +0100, Russell King wrote: On Mon, Jun 07, 2004 at 02:45:20PM +0200, Takashi Iwai wrote: i guess so, too. as you can see in the original post, the error returned from hw_params callback (sample not available), thus it doesn't call trigger(START) callback yet

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Takashi Iwai
At Mon, 7 Jun 2004 14:51:13 +0100, Russell King wrote: On Mon, Jun 07, 2004 at 03:40:23PM +0200, Takashi Iwai wrote: At Mon, 7 Jun 2004 14:08:17 +0100, Russell King wrote: On Mon, Jun 07, 2004 at 02:45:20PM +0200, Takashi Iwai wrote: i guess so, too. as you can see in the

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread James Courtier-Dutton
Russell King wrote: But unfortunately I don't have the driver code myself to be able to comment, so its probably been fscked. If the code was posted publically, the author of the code would get a lot more useful help from more eyes. --- This

[Alsa-devel] Problems Writing a Driver for an AMD Au1000 MIPS Processor

2004-06-07 Thread Charles Eidsness
I've been trying to write an ALSA driver for the AC97 port on an embedded AMD au1000 MIPS processor but am having some difficulties. The processor's DMA controller has two buffers which automatically toggle back and forth once the buffer is full. My problem is that when I playback a wave file

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Russell King
On Mon, Jun 07, 2004 at 04:18:55PM +0200, Takashi Iwai wrote: You're right. The error was not txcr, but in another WARN_ON() for checking chan-tx_substream (line 404)! (Russell, you mislead this, too ;) Well I don't have the exact source which this guy is using, so I can only guess. The

Re: [Alsa-devel] An driver error when I using aplay!

2004-06-07 Thread Russell King
On Mon, Jun 07, 2004 at 03:24:46PM +0100, James Courtier-Dutton wrote: Russell King wrote: But unfortunately I don't have the driver code myself to be able to comment, so its probably been fscked. If the code was posted publically, the author of the code would get a lot more useful