[Alsa-devel] return value of snd_pcm_wait()

2003-07-14 Thread Takashi Iwai
Hi, currently, snd_pcm_wait() returns -EIO if any error happens during poll(), regardless what really happened. i believe it's better to return a reasonable error code corresponding to the current state, such as -EPIPE and -ESTRPIPE. the attached patch adds this feature by calling

Re: [Alsa-devel] Identifying the PCM/Mic mixer

2003-07-14 Thread Takashi Iwai
At 10 Jul 2003 16:13:17 +1000, Steve Smith wrote: Hi, I'm writing an Alsa driver for an application that needs both playback and capture, and needs to control the mixer settings. I'm using the plughw: interface for both play and capture so I assume that I need to control the mixer volume

Re: [Alsa-devel] hdsploader 1.1

2003-07-14 Thread Takashi Iwai
At Thu, 10 Jul 2003 17:42:21 -0700 (PDT), [EMAIL PROTECTED] wrote: If I have snd-virmidi not commented out and follow the above procedure, I get a kernel oops when I run hdsploader but otherwise the same results. please send us the output of ksymoops. it would help debugging much better.

Re: [Alsa-devel] ring buffer pointer accuracy.

2003-07-14 Thread James Courtier-Dutton
Takashi Iwai wrote: At Fri, 11 Jul 2003 17:28:08 +0200, Giuliano Pochini wrote: On Thu, 10 Jul 2003 16:31:28 +0100 James Courtier-Dutton [EMAIL PROTECTED] wrote: Hi, When an application reads the avail or delay pcm values: - 1) how accurate are they? 2) does the accuracy depend on the sound card

Re: [Alsa-devel] hdsploader 1.1

2003-07-14 Thread Takashi Iwai
Hi, sorry for the late response. i'm back from LinuxTag now. At Wed, 9 Jul 2003 21:02:58 +0200 (CEST), Thomas Charbonnel wrote: Hi, You can find the new version of hdsploader here: http://www.undata.org/~thomas/ thanks, it's committed to cvs. unfortuantely missed in 0.9.5, though...

Re: [Alsa-devel] ring buffer pointer accuracy.

2003-07-14 Thread Giuliano Pochini
On 14-Jul-2003 James Courtier-Dutton wrote: Worst case accuracy is about one period AFAIK. It depends on the sound chip because the low level driver reads the DMA pointer (or something) from some hardware register or it can know the DMA pointer when it receives an interrupt at the end of a

[Alsa-devel] Reproducible deadlock w. alsa/maestro3 when sleeping (ACPI,) 2.6.0-test1

2003-07-14 Thread P. Christeas
I have been experiencing some fully reproducible deadlock when waking from sleep, using artsd over ALSA. The scenario is: I use ALSA, with the maestro3 device and everything else compiled as modules. From userspace, I launch artsd, which uses its native ALSA support to connect to /dev/pcmX .

[Alsa-devel] Re: ring buffer pointer accuracy.

2003-07-14 Thread Måns Rullgård
Giuliano Pochini [EMAIL PROTECTED] writes: I would like some idea of how accurate the snd_pcm_delay() result is likely to be. If I am trying to syncronise video to audio, and I notice a difference between audio and video, I need to know how accurate I can make it. I suppose you need a

[Alsa-devel] can anyone test ibook (snapper) ?

2003-07-14 Thread Takashi Iwai
Hi, can anyone test the attached patch for ibook/powerbook g4 with Snapper chip? (you can see the chip model via /proc/asound/cards. there is a string AWACS, Screamer, DACA, Tumbler and Snapper.) this will add the capture function. i know at least the interrupts generated but the volume was

[Alsa-devel] More Questions about control names.

2003-07-14 Thread Christian Esken
On Thursday 03 July 2003 14:16, Takashi Iwai wrote: At 02 Jul 2003 21:24:57 -0400, Manuel Jander wrote: Hello, I wrote support for the Hardware Equalizer (10 band stereo = 20 controls) for the Aureal Vortex cards. For testing purposes i used the controls as MIXER type controls, so