VgaGames 3 - Audio man-pages

[.. upper level ..]

VG3_audio_clone()

Clone a loaded sound as a new sound (copy).
SYNTAX
int VG3_audio_clone(struct vg3_window *wstruct, int audkz)

FUNCTION PARAMETERS
wstruct Window-struct
audkz Audio-descriptor

RETURN VALUE
Returns the new audio-descriptor as a positive number or 0 on failure.

ERRORS
On error VG3_errmsg() returns: EINVAL - error in argument ENOSPC - too many audio files loaded ENOMEM - cannot get memory ENXIO - error loading file ENOEXEC - error decoding file

DESCRIPTION
Clone an loaded sound and return the new audio-descriptor. The cloned sound is a copy.

SEE ALSO
VG3_audio_load() VG3_audio_unload()