\fBName\fP

SoundReadFile - read audio data from an audio file.

\fBSynopsis\fP

#include <audio/audiolib.h>

int SoundReadFile(buffer, num_bytes, sound)

    char *buffer;
    int num_bytes;
    Sound sound;

\fBArguments\fP

buffer

Specifies where the data should be read into.

num_bytes

Specifies the length of the data to read.

sound

Specifies the audio file description.

\fBDescription\fP

SoundReadFile reads num_bytes into buffer from the audio file described by sound.

\fBSee Also\fP

SoundOpenFileForReading.

audiolib - Network Audio System C Language Interface