Home » Questions » Play buffer from memory
Is it possible to play a memory buffer with floats if you know the sample rate, the size of the array, etc … WITHOUT initially loading a file into memory with fopen, seek, etc … ?
yes look into FMOD_OPENRAW and FMOD_OPENMEMORY, use FMOD_CREATESOUNDEXINFO to set channels, format (FMOD_SOUND_FORMAT_PCMFLOAT) and samplerate.
Please login first to submit.
Copyright 2018 FIRELIGHT TECHNOLOGIES PTY LTD. All RIGHTS RESERVED.