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

RtAudioError no more exists in RtAudio.h #346

Closed
shemeshg opened this issue Mar 7, 2022 · 2 comments
Closed

RtAudioError no more exists in RtAudio.h #346

shemeshg opened this issue Mar 7, 2022 · 2 comments

Comments

@shemeshg
Copy link

shemeshg commented Mar 7, 2022

Hi

In the the tutorial
https://www.music.mcgill.ca/~gary/rtaudio/playback.html
We are instructed to use

catch ( RtAudioError& e ) {
    e.printMessage();
    exit( 0 );
  }

However the https://github.com/thestk/rtaudio/blob/master/RtAudio.h does not contain the class
https://www.music.mcgill.ca/~gary/rtaudio/classRtAudioError.html
On the other hand it does exists in this documentation link...
https://www.music.mcgill.ca/~gary/rtaudio/RtAudio_8h_source.html

@jontio
Copy link

jontio commented May 4, 2022

It seems Gary is removing the exception behavior if you look through the commits. At the moment for the tutorials to make sense you will have to checkout one of the releases that uses the exception behavior. git tag shows the releases. I think release 5.2.0 might end up being the last release with the exception behavior. So...

git clone https://github.com/thestk/rtaudio.git
cd rtaudio
git checkout 5.2.0

Is probably what you want while the documentation seems to be for 5.2.0.

@garyscavone
Copy link
Contributor

Updated in latest merge.

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

3 participants