mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-26 13:48:38 -05:00
Moved OSX specific flags
This commit is contained in:
parent
b196fbfdea
commit
ab82ab182e
@ -176,15 +176,15 @@ void AudioThread::threadMain() {
|
||||
unsigned int bufferFrames = 256;
|
||||
|
||||
RtAudio::StreamOptions opts;
|
||||
opts.flags = RTAUDIO_SCHEDULE_REALTIME;
|
||||
// | RTAUDIO_MINIMIZE_LATENCY;
|
||||
// opts.flags = RTAUDIO_MINIMIZE_LATENCY;
|
||||
opts.streamName = "CubicSDR Audio Output";
|
||||
opts.priority = sched_get_priority_max(SCHED_FIFO);
|
||||
|
||||
try {
|
||||
|
||||
#ifdef __APPLE__
|
||||
opts.priority = sched_get_priority_max(SCHED_FIFO);
|
||||
// opts.flags = RTAUDIO_MINIMIZE_LATENCY;
|
||||
opts.flags = RTAUDIO_SCHEDULE_REALTIME;
|
||||
|
||||
if (deviceController.find(parameters.deviceId) == deviceController.end()) {
|
||||
deviceController[parameters.deviceId] = new AudioThread(NULL, NULL);
|
||||
deviceController[parameters.deviceId]->bindThread(this);
|
||||
|
Loading…
Reference in New Issue
Block a user