[Stk] rtaudio - priority and keyboard events

TJF tjfoerster at web.de
Mon Aug 13 09:41:47 PDT 2012


Hi everybody,

I am changing some things to bring my Windows application to Linux. I 
want to use the StreamOption "priority".

Am I right to to use it this way (the second line)? May be also a second 
process -  the process name of my application?

RtAudio::StreamOptions options;
options.priority =  ALSA;

My other question: In Windows I used system keyboard events like this to 
control the command-line app from outside:

(Ctrl+o)
if(GetAsyncKeyState(VK_CONTROL)&&GetAsyncKeyState(0x4F))
             {
                ...
             }

For Linux I couln't find something similar. What would be a 
"light-weight" solution: Using SDL (only keyboard-events)?

Thanks a lot!
Regards
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20120813/244093c0/attachment.html 


More information about the Stk mailing list