[Alsa-devel] mixer device

2004-05-10 Thread Ronald S. Bultje
Hi, for a given alsa device ("default", "dmix", "plughw:N", "hw:N,M", "dspN", etc.), how do I automatically obtain the right device to use as a audio mixer with that device? So far, it seems I can only attach to "hw:N" mixer devices. Thanks, Ronald -

[Alsa-devel] Emu10k1x status

2004-05-10 Thread Francisco Moraes
Hi everybody, Just wanted to share the status of the Emu10k1x driver (Dell SB Live! Value). I've finally got PCM playback working at 48000khz and a 32Kb buffer. I haven't tried too much more than this which is hard because of lack of specs for the card. I am doing some clean up and I hope to h

Re: [Alsa-devel] spin_lock_irqwhat ?

2004-05-10 Thread Takashi Iwai
At Mon, 10 May 2004 16:51:24 +0200 (CEST), Giuliano Pochini wrote: > > > On 10-May-2004 Takashi Iwai wrote: > > >> > Some drivers use spin_lock_irq() a lot, while others always use > >> > spin_lock_irqsave(). I can't see the difference. When it's safe > >> > using the _irq() version ? > >> > >>

Re: [Alsa-devel] spin_lock_irqwhat ?

2004-05-10 Thread Giuliano Pochini
On 10-May-2004 Takashi Iwai wrote: >> > Some drivers use spin_lock_irq() a lot, while others always use >> > spin_lock_irqsave(). I can't see the difference. When it's safe >> > using the _irq() version ? >> >> Only when you know that you are not in interrupt context. > > also, not in the context

Re: [Alsa-devel] BT878 support.

2004-05-10 Thread Rodrigo Severo
Clemens Ladisch wrote: Rodrigo Severo wrote: I have two Prolink PlayTV Pro capture cards (PV-BT878P+). One of them is revision 8E and tthe other is revision 9F. I tried to use both of them with the snd-bt87x driver. Both of them returned only static. Probably different mixer settings? I tried

Re: [Alsa-devel] BT878 support.

2004-05-10 Thread Clemens Ladisch
Rodrigo Severo wrote: > I have two Prolink PlayTV Pro capture cards (PV-BT878P+). One of them is > revision 8E and tthe other is revision 9F. > > I tried to use both of them with the snd-bt87x driver. Both of them > returned only static. Probably different mixer settings? > I managed to get analo

Re: [Alsa-devel] mixer element types

2004-05-10 Thread Takashi Iwai
At Sat, 08 May 2004 20:32:04 +0200, Ronald S. Bultje wrote: > > Hi, > > I'm working on properifying the ALSA support in GNOME Volume Control. > When opening a sound mixer, I noticed that several elements will be both > a capture and a playback element. Also, there is separate functions for > sett

Re: [Alsa-devel] Firmware uploader

2004-05-10 Thread Takashi Iwai
At Sun, 9 May 2004 18:21:21 +0200, Giuliano Pochini wrote: > > I read /linux/Documentation/firmware_class/README infos about the firmware > loader. That loader is not used by any of the alsa drivers. Is there a > reason ? Should I write my own custom loader or is it better using the > firmware-cla

Re: [Alsa-devel] Suggestion regarding alsa driver writing documentation.

2004-05-10 Thread Takashi Iwai
Hi James, could you create a patch to the source (alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl)? it's just a DocBook format. the tmpl extension is used to allow the inclusion from the kernel source, although this document doesn't do it. thank,s Takashi At Sat, 08 May 2004 19

Re: [Alsa-devel] spin_lock_irqwhat ?

2004-05-10 Thread Takashi Iwai
At Mon, 10 May 2004 10:31:07 +0200 (METDST), Clemens Ladisch wrote: > > Giuliano Pochini wrote: > > Some drivers use spin_lock_irq() a lot, while others always use > > spin_lock_irqsave(). I can't see the difference. When it's safe > > using the _irq() version ? > > Only when you know that you ar

Re: [Alsa-devel] spin_lock_irqwhat ?

2004-05-10 Thread Clemens Ladisch
Giuliano Pochini wrote: > Some drivers use spin_lock_irq() a lot, while others always use > spin_lock_irqsave(). I can't see the difference. When it's safe > using the _irq() version ? Only when you know that you are not in interrupt context. Regards, Clemens