Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with system-installed RtAudio 6.x #208

Open
OPNA2608 opened this issue Apr 25, 2024 · 1 comment
Open

Incompatible with system-installed RtAudio 6.x #208

OPNA2608 opened this issue Apr 25, 2024 · 1 comment

Comments

@OPNA2608
Copy link
Contributor

Same issue with OPN2BankEditor.

-- Checking for module 'rtaudio'
--   Found rtaudio, version 6.0.1
[...]
In file included from /build/source/src/bank_editor.h:30,
                 from /build/source/src/audio.cpp:19:
/build/source/src/audio/ao_rtaudio.h:37:31: error: 'RtAudioError' has not been declared
   37 |     static void errorCallback(RtAudioError::Type type, const std::string &errorText);
      |                               ^~~~~~~~~~~~
/build/source/src/audio/ao_rtaudio.h:37:50: error: expected ',' or '...' before 'type'
   37 |     static void errorCallback(RtAudioError::Type type, const std::string &errorText);
      |                                                  ^~~~

With version 6.0.0, RtAudio switched its error reporting method from C++ exceptions to return values.

An example for how this was addressed in BambooTracker, via a hard switch to RtAudio 6.x: BambooTracker/BambooTracker@cac4786.

@Wohlstand
Copy link
Owner

Wohlstand commented Apr 25, 2024

Try the latest version from the git, I already switched some, or wait, that's I did with AdlRt, I'll try to check some soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants