I’m wanting to play an audiobuffer that I’ve made, using the SoundPlayer class.
My header makes these objects:
SoundPlayer player; AudioDeviceManager deviceManager;
and in my constructor I’m just trying to get them to play the test sound like this:
deviceManager.initialiseWithDefaultDevices (0, 2); deviceManager.addAudioCallback (&player); player.playTestSound();
But I’m not hearing anything… what am I doing wrong?