Perhaps you could use CreateStaticAudioSample and pass your buffer as the first parameter, and then create a TSound object from that using LoadSound( myStaticAudioSample ).
However, I'm assuming LoadSound will load the whole of the audio sample into memory when it is called instead of creating a TSound that is streaming the data in from the audio sample you created, and if that is the case it won't work at all.
Looking at the code doesn't reveal much info, sadly.
However, I'm assuming LoadSound will load the whole of the audio sample into memory when it is called instead of creating a TSound that is streaming the data in from the audio sample you created, and if that is the case it won't work at all.
Looking at the code doesn't reveal much info, sadly.