Concrete Voice for sample playback.
Depending on the size of the specified file, playback will either be done in-memory (with BufferPlayerNode ) or streaming (with FilePlayerNode ). The maximum frames for in-memory playback can be specified with Voice::Options::maxFramesForBufferPlayback() Create with Voice::create( const SourceFileRef &sourceFile, const Options &options )
Show All |