Audio manipulation and delete some part of the audio
问题 I'm new in voice codding, now I am succeed to recording microphone in the files and save each 10 seconds in a file with SaveRecordtoFile function(doing this with no problem) Now I want to delete for example 2 seconds from the recorded data so my output will be 8 seconds instead of 10, in the randomTime array 0 is the number of seconds witch I want to be delete... In a for-loop I copy the data of waveHeader->lpData in a new buffer if (randomTime[i] == '1') 10 seconds: delete the data of second