Mostly working on OSX /w rtaudio now

Looks like just some priority tweaks remain
This commit is contained in:
Charles J. Cliffe
2014-12-04 22:25:18 -05:00
parent 6fe3cf98d3
commit 894c718730
2 changed files with 48 additions and 22 deletions
+8
View File
@@ -47,6 +47,14 @@ bool CubicSDR::OnInit() {
AppFrame *appframe = new AppFrame();
int main_policy;
struct sched_param main_param;
main_policy = SCHED_OTHER;
main_param.sched_priority = sched_get_priority_min(SCHED_OTHER);
pthread_setschedparam(pthread_self(), main_policy, &main_param);
return true;
}