0
0

Hi!
I’m a french newbie and I don’t know how to use LOCK and UNLOCK (to write a wav file when I record a sample)
thx

  • You must to post comments
0
0

U can directly write to a file without locking/unlocking. Lock/unlock are used when u need to work with the data. Here, you only need to continusly write the data in a DSP callback to a file, don’t forget to fill the header before doing this.

  • You must to post comments
0
0

How write the data in a DSP callback to a file ?

  • You must to post comments
0
0

with standart IO file functions, like fwrite :
/* i used to never directly use a pointer wich is as a paramater, i assume that you memcpy enough data to ‘buffer’ */

fwrite( (char*) buffer, sizeof(buffer), fOut);

or someting like that

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.