0
0

Hi,

Is there an easy way to get the data in a FMOD::Sound object into an Objective-C NSData object?

The not-so-easy way would be to write to file while recording and then load the data from the file into a NSData object, I suppose, but is there a more direct route?

The reason for the question, is that I’d prefer to store the whole sound object as a blob in the Sqlite database, rather than having to store references to wav files in the Documents directory.

thx.

  • You must to post comments
0
0

You can read the contents of the FMOD::Sound object using the Sound::lock or Sound::readData API, this will give you access to the audio data which can be stored however you like.

  • You must to post comments
0
0

Ever figure this out? Or can does anyone have any suggestions? I am looking to do the same thing.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.