:)
Loading...
Searching...
No Matches
RustyUserData Struct Reference

Passed to audioCallback as arg. More...

#include <RustyAudioEngine.hpp>

Public Attributes

RustyAudioEngine * engine
 

Detailed Description

Passed to audioCallback as arg.

This struct is crucial to the management of the audio signal. Non-static RustyProcessor methods can't be called from the static audioCallback linked to the PortAudio IO stream. Therefore you write a static audioCallbackWrapper() and pass this struct in as an argument. You then call the non static audioCallback() from the RustyAudioEngine pointer that is pointing to the instance of the RustyAudioEngine it was instantiated in.

Definition at line 52 of file RustyAudioEngine.hpp.

Member Data Documentation

◆ engine

RustyAudioEngine* RustyUserData::engine

Definition at line 54 of file RustyAudioEngine.hpp.


The documentation for this struct was generated from the following file: