On Sun, 14 Dec 2003, Manuel Jander wrote:

> I looked into "alsa-kernel/core/control.c" and after finding out that
> every control interaction does a control lookup (iterated through all
> controls), i don't feel very confortable about using kcontrols to update
> hardware parameters in at tens of milisecond intervals.

Use it. We can improve the lookup algorithm (use hashes etc.).

> Then i discovered the ALSA /proc interface, but the docs read "use for
> debugging". They have a lot less overhead. Would it be OK to use them
> for hardware parameter update ? And if so, why don't you use this
> interface for queries ? They seem to give much more freedom about
> locking and other issues.

No, the proc interface is not definitely for these things.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to