Hi all!
I'm using AudioInputStream to record an audiostream from the uplink and I have a doubt:
I've made my own function "Record" in a class Engine (derived from MMdaAudioInputStreamCallback to implement the callbacks) and in Record I call the function ReadL(firstBuffer) on a CAudioInputStream object;
then in MaiscBufferCopied I call the next ReadL(nextBuffer) in which audio data will be stored when the privious buffer is full.
my doubt is: am I sure that there is no data loss while the system switch between the two buffers (the filled one and the next to be filled)?
Whoever can guarantee me there is no data loss, thanks a lot mate!