Re: [Alsa-user] Limited access to capture source
Brought to you by:
perex
|
From: Clemens L. <cl...@la...> - 2017-04-25 11:38:00
|
ce...@op... wrote: > Have a linux system (Debian) with automatic voice recording (when user log > in). > Users should not have impact on that process - do not mute mic, do not > change capture source nor recording level. > However audio playback should be unrestricted for all users. All mixer controls of a card are managed with a single device node (/dev/snd/controlCx), so it is not possible to use file permissions for this. However, in your recording program (or a separate tool), you can call snd_ctl_elem_lock() for all mixer controls that no other program should be able to change. Regards, Clemens |