File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -2548,6 +2548,13 @@ std::string escapeJackPortRegex(std::string &str)
2548
2548
return escaped_string;
2549
2549
}
2550
2550
2551
+ #if defined(__UNIX_JACK__)
2552
+ void * RtAudio :: HACK__getJackClient()
2553
+ {
2554
+ return static_cast <JackHandle*>(rtapi_->stream_ .apiHandle )->client ;
2555
+ }
2556
+ #endif
2557
+
2551
2558
#if !defined(__RTAUDIO_DEBUG__)
2552
2559
static void jackSilentError ( const char * ) {};
2553
2560
#endif
Original file line number Diff line number Diff line change @@ -640,6 +640,10 @@ class RTAUDIO_DLL_PUBLIC RtAudio
640
640
*/
641
641
void showWarnings ( bool value = true );
642
642
643
+ #if defined(__UNIX_JACK__)
644
+ void * HACK__getJackClient ();
645
+ #endif
646
+
643
647
protected:
644
648
645
649
void openRtApi ( RtAudio::Api api );
@@ -744,6 +748,8 @@ class S24 {
744
748
745
749
class RTAUDIO_DLL_PUBLIC RtApi
746
750
{
751
+ friend RtAudio; // HACK
752
+
747
753
public:
748
754
749
755
RtApi ();
You can’t perform that action at this time.
0 commit comments