NAME¶afWriteFrames - write sample frames to a track in an audio file
AFframecount afWriteFrames(AFfilehandle file, int track, const void *data, AFframecount count);
DESCRIPTION¶afWriteFrames attempts to write up to count frames of audio data from the buffer data to the audio file handle file.
PARAMETERS¶file is a valid file handle returned by afOpenFile(3).
track is always AF_DEFAULT_TRACK for all currently supported file formats.
data is a buffer of sample frames to be written to the file.
count is the number of sample frames to be written.
RETURN VALUE¶afWriteFrames returns the number of sample frames successfully written to file.
ERRORS¶afWriteFrames can produce these errors:
AUTHOR¶Michael Pruett <firstname.lastname@example.org>
|03/06/2013||Audio File Library 0.3.6|