On Mon, 19 Jan 2004 19:05:23 +0100
Francesco Abbate <[EMAIL PROTECTED]> wrote:

> Hallo everyone,
> 
> I've recently switch to the 2.6.0 kernel and I've decided to
> switch to ALSA too.
> 
> I've enabled ALSA into the kernel *without* OSS emulation and
> I've began to manage to get things works.
> 
> PCM playback now works. I've my brave alsamixer and alsaplayer
> working and well configured. But I've some minor problem.
> 
> In the alsaplayer man page the developers writes
> ----------------------
> -r, --realtime
>        Enable realtime scheduling.  To use this as a  nor­
>        mal user, alsaplayer must be SUID root.
> ----------------------
> but if I set alsaplayer SUID root the application won't work
> because GTK refuse to start a SUID gtk application.
> How can I do ? realtime scheduling is needed to avoid underrun
> when other programs are in execution.

# sudo alsaplayer -r

will do the trick. You'll need to allow passwordless sudo-ing for any
users (set in /etc/sudoers, check the man page for sudo)

e.g
%rtaudio  ALL=(ALL)  NOPASSWD: ALL

allows anyone in the rtaudio group to sudo without entering their
password. 

- 
Myk


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to