SoundCloseFile(3) close an audio file description.

Synopsis

#include <audio/audiolib.h>

int SoundCloseFile(sound)

    Sound sound;

Arguments

sound
Specifies the audio file description.

Description

SoundCloseFile closes the audio file described by sound and returns 0 if successfull or -1 if there was an error. Any unwritten data is written and the storage associated with sound is deallocated.

See Also

SoundOpenFileForReading, SoundOpenFileForWriting.

audiolib - Network Audio System C Language Interface