Re: [Alsa-devel] multiple devices per card?

2002-10-04 Thread Jaroslav Kysela
On Fri, 4 Oct 2002, Guilhem Tardy wrote: > This card can open / close N audio streams independently. Each audio stream can > be matched to a different port (e.g. mike in, line in) or the same, with > different formats if necessary. > > Following your earlier message, I'd guess that a) is the sol

Re: [Alsa-devel] multiple devices per card?

2002-10-04 Thread Jaroslav Kysela
On Sat, 5 Oct 2002, Patrick Shirkey wrote: > Guilhem Tardy wrote: > > Hi, > > > > I am unsure what makes the most sense for multiple pcm channels on the same > > card: > > a) N devices, 1 pcm channel each > > b) 1 device, N pcm channels each > > > > In the same vein, is the mixer always one p

Re: [Alsa-devel] Audiophile 2496 S/PDIF Support

2002-10-04 Thread James Courtier-Dutton
Robert Robinson wrote: >Takashi, > >I had communication from Kysela Jaroslav indicating that the Audiophile 2496 >driver does support digital I/O. >The problem may be that I have not been using an audio interface program >that supports the digital option. This choice is never displayed as part of

[Alsa-devel] [2.5.40bk3] Am I missing something?

2002-10-04 Thread Peter L Jones
Hi all, I'm running 2.5.40 bitkeeper snapshot #3. Having finally got as far as building ALSA (ens1371), I can't get any output. The driver loads: Advanced Linux Sound Architecture Driver Version 0.9.0rc3 (Tue Oct 01 14:40:23 2002 UTC). Compiled on Oct 4 2002 for kernel 2.5.40bk3. 0: [0- 0]

Re: [Alsa-devel] multiple devices per card?

2002-10-04 Thread Guilhem Tardy
This card can open / close N audio streams independently. Each audio stream can be matched to a different port (e.g. mike in, line in) or the same, with different formats if necessary. Following your earlier message, I'd guess that a) is the solution. Then, only one mixer is enough to handle all

Re: [Alsa-devel] multiple devices per card?

2002-10-04 Thread Patrick Shirkey
Guilhem Tardy wrote: > Hi, > > I am unsure what makes the most sense for multiple pcm channels on the same > card: > a) N devices, 1 pcm channel each > b) 1 device, N pcm channels each > > In the same vein, is the mixer always one per card? > well if we have hw:0,0 hw:0,1 hw:0,2 Then it loo

[Alsa-devel] Re: ALSA: doc notes additions

2002-10-04 Thread Patrick Shirkey
[EMAIL PROTECTED] wrote: > Wilmer [EMAIL PROTECTED] > Friday, 04 October 2002 > I have Dell CPia 366XTusing ALSA RC3 driver, kernel 2.4.19 > > I'm probably going to go back to using the kernel driverThis alsa Driver > is crashing on me too...E

[Alsa-devel] multiple devices per card?

2002-10-04 Thread Guilhem Tardy
Hi, I am unsure what makes the most sense for multiple pcm channels on the same card: a) N devices, 1 pcm channel each b) 1 device, N pcm channels each In the same vein, is the mixer always one per card? Thanks, Guilhem. __ Do you Yahoo!? New

Re: [Alsa-devel] Audiophile 2496 S/PDIF Support

2002-10-04 Thread Robert Robinson
Takashi, I had communication from Kysela Jaroslav indicating that the Audiophile 2496 driver does support digital I/O. The problem may be that I have not been using an audio interface program that supports the digital option. This choice is never displayed as part of the I/O. Robbie - Origina

Re: [Alsa-devel] Why do I get broken pipe on write to a pcm in statePREPARED?

2002-10-04 Thread Abramo Bagnara
Takashi Iwai wrote: > > At Fri, 4 Oct 2002 10:14:09 +0200, > Anders Torger wrote: > > > > Uhhh... I guess ignoring me works just as well :-) > > not ignored but pending :) > > Abramo, do you still have objection to change the default behavior? > > i don't mind that even the new behavior is opt

Re: [Alsa-devel] snd_pcm_hw_params_current() ?

2002-10-04 Thread Florian Bomers
Jaroslav Kysela wrote: > > On Thu, 3 Oct 2002, Florian Bomers wrote: > > > Hi, > > > > there is snd_pcm_sw_params_current() but not snd_pcm_hw_params_current(). How > > can I get the current hardware configuration for a given snd_pcm_t handle ? Am I > > missing something ? > > Hardware paramete

Re: [Alsa-devel] Driver headers used by alsa-lib

2002-10-04 Thread Peter L Jones
On Friday 04 Oct 2002 18:20, Pavel Roskin wrote: > Hello! > [snip - forgive me chopping the lot :-)] > > I'm ready to provide patches once somebody confirms that my understanding > of the problem is correct. I think you're perfectly correct. It sounds like ALSA is doing _exactly_ like what the k

[Alsa-devel] Driver headers used by alsa-lib

2002-10-04 Thread Pavel Roskin
Hello! There is another configuration problem that needs to be fixed. I had ALSA already installed (CVS version as of a week ago or so). Today I compiled alsa-driver, alsa-lib and alsa-util and then started installing them. I found that "make install" caused recompilation in alsa-lib. It used

Re: [Alsa-devel] Emptying read buffer

2002-10-04 Thread Jaroslav Kysela
On Fri, 4 Oct 2002, Philipp Vollmer wrote: > Hello, > > I'm playing soundfiles in read/write fullduplex mode, but I have one > problem: > > When I'm playing this file, I'm not able to empty the buffer, because > it needs too much CPU load. And after 2 or 3 seconds > the buffer is full and the a

[Alsa-devel] Emptying read buffer

2002-10-04 Thread Philipp Vollmer
Hello, I'm playing soundfiles in read/write fullduplex mode, but I have one problem: When I'm playing this file, I'm not able to empty the buffer, because it needs too much CPU load. And after 2 or 3 seconds the buffer is full and the app crashes. Is there a possibility to empty the buffer witho

[Alsa-devel] Re: Newbie compile problem

2002-10-04 Thread Philipp Vollmer
Hi, your mistake seems to be easy to eleminate: I suppose, you compile with cc -o xxx xxx.c or something like this. You'd better try out gcc -o xxx xxx.c -lasound for compiling that. The -lasound includes the library depending on the headerfile. Without the static library you won't run any appl

Re: [Alsa-devel] [PATCH] support for Yamaha and Midiman USB MIDI devices

2002-10-04 Thread Takashi Iwai
At Fri, 04 Oct 2002 14:55:14 +0200 (METDST), Clemens Ladisch wrote: > > [1 ] > This patch adds quirks to support USB MIDI with Yamaha and Midiman > devices. > > The support for Yamaha devices has been taken from the NetBSD umidi > driver. > > The Midiman support is for devices with Midiman fir

Re: [Alsa-devel] Unnecessary files on CVS

2002-10-04 Thread Takashi Iwai
At Thu, 3 Oct 2002 12:29:28 -0400 (EDT), Pavel Roskin wrote: > > Hello! > > Somebody please remove these files form CVS: > > alsa-kernel/include/version.h since alsa-kernel tree has nothing to do with configure but for 2.5 kernel, it's still necessary. > alsa-utils/install-sh > alsa-utils/mis

Re: [Alsa-devel] Why do I get broken pipe on write to a pcm in statePREPARED?

2002-10-04 Thread Takashi Iwai
At Fri, 4 Oct 2002 10:14:09 +0200, Anders Torger wrote: > > Uhhh... I guess ignoring me works just as well :-) not ignored but pending :) Abramo, do you still have objection to change the default behavior? i don't mind that even the new behavior is optional e.g. via snd_pcm_sw_params. but i b

[Alsa-devel] [PATCH] support for Yamaha and Midiman USB MIDI devices

2002-10-04 Thread Clemens Ladisch
This patch adds quirks to support USB MIDI with Yamaha and Midiman devices. The support for Yamaha devices has been taken from the NetBSD umidi driver. The Midiman support is for devices with Midiman firmware (especially the USB Quattro). The Midisport devices can be used with either the Midiman

Re: [Alsa-devel] Re: [alsa-cvslog] CVS: alsa-kernel/usb usbaudio.c,1.12,1.13 ...

2002-10-04 Thread Takashi Iwai
At Fri, 04 Oct 2002 09:49:01 +0200, Clemens Ladisch wrote: > > Jaroslav Kysela wrote: > > > Modified Files: > > usbaudio.c usbmidi.c usbmixer.c > > Log Message: > > Fixes for 2.5 USB core > > > (...) > > > > > +#ifndef OLD_USB > > + return 0; > > +#else > > return chip; > > +#endi

Re: [Alsa-devel] snd_pcm_hw_params_current() ?

2002-10-04 Thread Jaroslav Kysela
On Thu, 3 Oct 2002, Florian Bomers wrote: > Hi, > > there is snd_pcm_sw_params_current() but not snd_pcm_hw_params_current(). How > can I get the current hardware configuration for a given snd_pcm_t handle ? Am I > missing something ? Hardware parameters must be configured from application all

Re: [Alsa-devel] Audiophile 2496 S/PDIF Support

2002-10-04 Thread Takashi Iwai
At Wed, 2 Oct 2002 17:49:57 -0400, Robert Robinson wrote: > > This is a re-post. We are still interested to know if work is planned to > implement digital I/O support for the M-Audio Audiophile 2496. Analog I/O > works fine with ALSA. could you elaborate the problem? how did you test spdif on th

Re: [Alsa-devel] USB Audio/Midiman - partial success

2002-10-04 Thread Takashi Iwai
At Thu, 3 Oct 2002 23:02:07 -0700 (PDT), Fedor G. Pikus <[EMAIL PROTECTED]> wrote: > > Could you explay me what does it do? It sets "crate" what used to be > "runtile->rate" but then it does not do anything with crate? it checks the requested rate value has been really set on the interface. but

Re: [Alsa-devel] Why do I get broken pipe on write to a pcm in statePREPARED?

2002-10-04 Thread Anders Torger
On Wednesday 18 September 2002 21.57, Anders Torger wrote: > On Tuesday 17 September 2002 16.40, Clemens Ladisch wrote: > > > I feel that one can interpret both ways, so it is a quite open > > > choice. Either way, one can state POSIX behaviour. Then the > > > question becomes: what is the most us

[Alsa-devel] Re: [alsa-cvslog] CVS: alsa-kernel/usb usbaudio.c,1.12,1.13 ...

2002-10-04 Thread Clemens Ladisch
Jaroslav Kysela wrote: > Modified Files: > usbaudio.c usbmidi.c usbmixer.c > Log Message: > Fixes for 2.5 USB core > (...) > > +#ifndef OLD_USB > + return 0; > +#else > return chip; > +#endif > > (...) > > +#ifndef OLD_USB > + void *ptr = dev_get_drvdata(&intf->dev);

Re: [Alsa-devel] S/PDIF RCA IEC958 C-Media PCI CMI8738 - can't record

2002-10-04 Thread Joshua N Pritikin
On Fri, Oct 04, 2002 at 08:41:39AM +0530, Joshua N Pritikin wrote: > I have an Iwill DVD266-uRN with CMI8738 sound. I'm trying to record > through the RCA S/PDIF Input port. My system is Linux 2.4.19 i386 SMP. > > I tried both C-Media's driver and the driver from the stock 2.4.19 > kernel. S/P