Description

This method deletes a previously allocated AudioBuffer object which was returned by the CreateAudioBuffer method. This method only needs to be used if the caller wants to delete a previously allocated buffer without playing it. If a buffer is sent for playback through a call to the PlayBuffer method, the AudioStream class will delete it automatically after playback is complete.

Usage

void DeleteAudioBuffer(AudioBuffer* buffer);

Argument list

buffer [AudioBuffer*]
The AudioBuffer object to delete

See also