\fBName\fP

SoundWriteFile - write audio data to an audio file.

\fBSynopsis\fP

#include <audio/audiolib.h>

int SoundWriteFile(buffer, num_bytes, sound)

    char *buffer;
    int num_bytes;
    Sound sound;

\fBArguments\fP

buffer

Specifies where the data should be written from.

num_bytes

Specifies the length of the data.

sound

Specifies the audio file description.

\fBDescription\fP

SoundWriteFile writes num_bytes from buffer to the audio file described by sound and returns the number of bytes written.

\fBSee Also\fP

SoundOpenFileForWriting.

audiolib - Network Audio System C Language Interface