ExtAudioFileWrite, error -40
ExtAudioFileWrite, error -40
- Subject: ExtAudioFileWrite, error -40
- From: "Edwards, Waverly" <email@hidden>
- Date: Wed, 10 Nov 2010 09:58:44 -0600
- Acceptlanguage: en-US
- Thread-topic: ExtAudioFileWrite, error -40
I am using the function ExtAudioFileWrite and I have begun to receive the error -40 when writing the contents of my buffer to file disk. The descriptive message for error -40 is "tried to position to before the start of the file (r/w)." I am reading the contents of a file using the ExtAudioFile API fully into a buffer in one shot. I modify the contents of memory and write the contents out as another file name. Strangely, the file will show up as a full sized file and then quickly change to a 4K file.
I did not have this problem for before and I have been writing the output for a month or two using a small repertoire of 15 wave files for input. I began testing using a new set of aiff files for input. Thinking this may be related I converted one or two aiff files to wave files (to be used as input) to see it made a difference. Ultimately, I do not know what it means to "...position to before the start..." since the only function I am using to write is ExtAudioFileWrite. I am not manipulating the position of writing in any way.
Any ideas on what may be causing this -40 error?
Thank you,
W.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden