Re: [Alsa-devel] how to define a 2-index control element?

2002-05-06 Thread Jaroslav Kysela
On Sun, 5 May 2002, Paul Davis wrote: On Sun, 5 May 2002, Paul Davis wrote: I suggest you to use the field index of struct sndrv_ctl_elem_id (one byte per dimension). id.index = (source 8) | destination; but there are 1400+ possible id's ... I agree with Abramo. We can

Re: [Alsa-devel] Memory managment.

2002-05-06 Thread Peter Enderborg
Takashi Iwai wrote: At Mon, 06 May 2002 12:09:57 +0200, Peter Enderborg wrote: Takashi Iwai wrote: Hi Peter, At Sun, 05 May 2002 19:35:04 +0200, Peter Enderborg wrote: I have some memory problems with my alsa programming. And I have tryed to do a small program to

Re: [Alsa-devel] how to define a 2-index control element?

2002-05-06 Thread Paul Davis
there's no reason to do that. if you're going to require that the user merge two values into a single variable (as above), the user can put the merged result in control-value.integer.value[0]. i just wanted a way to avoid the user having to do this, because otherwise, it will be impossible

Re: [Alsa-devel] how to define a 2-index control element?

2002-05-06 Thread Jaroslav Kysela
On Mon, 6 May 2002, Paul Davis wrote: there's no reason to do that. if you're going to require that the user merge two values into a single variable (as above), the user can put the merged result in control-value.integer.value[0]. i just wanted a way to avoid the user having to do this,

Re: [Alsa-devel] how to define a 2-index control element?

2002-05-06 Thread Takashi Iwai
At Sun, 05 May 2002 21:32:12 -0400, Paul Davis wrote: On Sun, 5 May 2002, Paul Davis wrote: I suggest you to use the field index of struct sndrv_ctl_elem_id (one byte per dimension). id.index = (source 8) | destination; but there are 1400+ possible id's ... I agree with

Re: [Alsa-devel] DMA: do all drivers need it?

2002-05-06 Thread Takashi Iwai
At Sat, 04 May 2002 07:41:28 -0400, Paul Davis wrote: I am starting to write an sound driver for a card with no previous support and would like to know if DMA is necessary as per the ALSA framework itself. My card doesn't support DMA, yet. So if your answer is no, I would need to fallback

Re: [Alsa-devel] alsa-oss 0.9.0rc1 questions

2002-05-06 Thread Takashi Iwai
At Thu, 25 Apr 2002 11:57:40 -0700, Chuck Busby wrote: I have upgraded to the alsa-driver alsa-lib and alsa-utils 0.9.0rc1. My SBLive sounds much better now. Thank you. I tried to compile alsa-oss 0.9.0rc1 and got errors because it could not find install or install-sh . I was under

Re: [Alsa-devel] es1869 as sb?

2002-05-06 Thread Takashi Iwai
At Fri, 26 Apr 2002 19:33:23 +0200, Kasper Souren wrote: Hi. I'm trying to get my laptop soundchip, an ES1869 running under ALSA. Under OSS it runs as an sb. With modprobe sb io=0x220 irq=5 dma=1 dma16=5 I get: SB 3.01 detected OK (220) ESS chip ES1869 detected ESS ES1869 AudioDrive

Re: [Alsa-devel] mixer problem with ymfpci

2002-05-06 Thread Takashi Iwai
Hi Josh, At 25 Apr 2002 12:10:14 -0700, Josh Green wrote: I'm currently have a problem setting mixer controls with alsactl and the ymfpci driver (Yamaha YMF-744B on a laptop). This problem started with alsa 0.9.0beta12 and is present in rc1 as well. I've removed the /etc/asound.state file

Re: [Alsa-devel] problem with 8233 -- please help!

2002-05-06 Thread rs
Hallo ! On Mon, 6 May 2002, Sundance wrote: The ALC650 (which is what you meant, right?) is indeed not recognized by ALSA's AC97 code, if I understood that part of the sources of 0.9.0rc1 correctly. That can be relatively easily fixed by adding: { 0x414C4720, 0xfff0, ALC650,

[Alsa-devel] CS4205 -- personal conclusion: avoid these laptops (for now)...

2002-05-06 Thread Ivica Bukvic
Hi all! I've just finished messing with the Inspiron 8200, and after 2 weeks of messing with it and 4 different OS's (Deb, Mdk, RH/beta, and currently Suse), I can say that this card is simply not ready to be used seriously for the pro audio with Alsa. Here's the final breakdown of everything I