Sometimes I have the need to play to the user a few samples ( not beeps or something like that) generated by ToneGenerator.
The only I found is the use of AudioSource::getNextAudioBlock, but this solution is not what I need, because of the iterative process.
The only I need is to send the buffer-samples once to the default audio device.
Have anyone any experience about this?
Thanks in advance