Yes i am calling stat,
But I can see that the file size does not change for a few seconds and then the data is flushed.
What I am doing is decoding caller id on a phone line:
So the flow goes like this:
1. rec listening with silence detection
2. Call comes in and recording starts.
3. Caller id is between 1st and second ring.
(ok this is were the issue comes in)
after the first ring I get the first part of the caller id signal written to disk (call it 1/2 of the caller id signal). (listening to the audio I know we have whole signal.)
But not until after the second ring do I get the audio for the rest of the caller id written to disk.
Can I have rec write silence to the file after the recording starts?
Thanks for sticking with me on this
Shane