Skip to content

Incompatible with system-installed RtAudio 6.x #208

@OPNA2608

Description

@OPNA2608

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions