[alsa-devel] [PATCH 0/3] alsa-lib: UCM - Use Case Manager

Jaroslav Kysela perex at perex.cz
Wed Sep 8 10:19:45 CEST 2010

Creating another thread .... state locking ...

I understand the motivation to create a layer for phone or similar 
embedded devices which uses usually all streams from the one process.

But what about more concurrent processes? The state handling in the 
current implementation is per process, so another process just 
overwrite blindly the control values set by the first process.

I think that the layer should have some locking mechanism and state 
persistency (IPC semaphores / IPC shared memory) or a file and inotify?

Another question is how to handle collisions.


Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

More information about the Alsa-devel mailing list