mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
772c7da35a
CubicSDR is the software portion of Software Defined Radio. By Using hardware that converts RF spectrum into a digital stream we are able to build complex radios to do many types of functions in software instead of traditional hardwre. Paired with a supported hardware receiver, you can use CubicSDR to explore the RF world around you. Discover Satellite transmissions, Amateur Radio, Rail, Areonautical, Shortwave, or any number of possible signals floating through the air. OK benoit@
14 lines
627 B
Plaintext
14 lines
627 B
Plaintext
Index: external/rtaudio/RtAudio.cpp
|
|
--- external/rtaudio/RtAudio.cpp.orig
|
|
+++ external/rtaudio/RtAudio.cpp
|
|
@@ -8788,7 +8788,8 @@ static void *pulseaudio_callback( void * user )
|
|
RtApiPulse *context = static_cast<RtApiPulse *>( cbi->object );
|
|
volatile bool *isRunning = &cbi->isRunning;
|
|
|
|
-#ifdef SCHED_RR // Undefined with some OSes (e.g. NetBSD 1.6.x with GNU Pthread)
|
|
+// Undefined with some OSes (e.g. NetBSD 1.6.x with GNU Pthread)
|
|
+#if defined(SCHED_RR) && !defined(__OpenBSD__)
|
|
if (cbi->doRealtime) {
|
|
std::cerr << "RtAudio pulse: " <<
|
|
(sched_getscheduler(0) == SCHED_RR ? "" : "_NOT_ ") <<
|