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

2002-05-05 Thread Paul Davis
>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 ... --p ___ Have big pipes? SourceForge.net is looking for downl

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

2002-05-05 Thread Jaroslav Kysela
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 eventually optimize code to handle such amo

[Alsa-devel] Memory managment.

2002-05-05 Thread Peter Enderborg
I have some memory problems with my alsa programming. And I have tryed to do a small program to see whats wrong. And I still have the same problem with this little program... #include int main() { while (1) { snd_seq_event_t *foo; foo = snd_seq_create_event(); snd_seq_fr

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

2002-05-05 Thread Sundance
You wrote: > It seems, that the ALC640 is not compatible to the intel810. 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, 0xff

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

2002-05-05 Thread Paul Davis
>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 eventually optimize code to handl

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

2002-05-05 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