This commit is contained in:
Jack Andersen 2016-05-03 19:19:33 -10:00
commit 3510c0a2e8
1 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ the OS' audio system fed.
The client must provide the implementation for allocating and mixing audio
voices, since this may drastically differ from target to target.
`amuse::IVoiceAllocator` is the pure-virtual interface to implement for this.
`amuse::IBackendVoiceAllocator` is the pure-virtual interface to implement
for this.
Here's an example usage:
@ -60,7 +61,7 @@ int main(int argc, char* argv[])
/* Stopping a SoundMacro is accomplished by sending a
* MIDI-style 'KeyOff' message for the voice
*/
voice.keyOff();
voice->keyOff();
/* Play for 2 more seconds to allow the macro to gracefully fade-out */
passedFrames = 0;