0
0

Hi. im using:
FSOUND_Sample_Alloc(FSOUND_UNMANAGED, RECORDLEN, mode, RECORDRATE, 255, 128, 255);
to allocate memory and:
FSOUND_Record_StartSample(samp1, FALSE)
to record data. New sample has always RECORDLEN length, even when i use:
FSOUND_Record_Stop()
My question is how to cut unnessesary stream, or set sample length?

  • You must to post comments
0
0

hmm ok..maybe ill ask in other way.FSOUND_Sample_Alloc(FSOUND_UNMANAGED, RECORDLEN, mode, RECORDRATE, 255, 128, 255) allocate memory. if RECORDLEN=10*44100 it will allocate memory for sample with byte rate 44100 and 10s length. But im stoping recording earlier, f. ex. after 4s. i dont want to save all 10s data because last 6s is useless. I want to save to wav file only 4s sample and nothing else. And finally my question is…how to do it?….anyway thx for answer.

  • You must to post comments
0
0

Once you recorded or Uploaded data in the new allocated sample, you can only read it or is there a way to save it to your computer as a music file ? Thanks

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.