// FreeWAV (https://wiki.libsdl.org/SDL_FreeWAV) func FreeWAV(audioBuf *uint8) { _audioBuf := (*C.Uint8)(unsafe.Pointer(audioBuf)) C.SDL_FreeWAV(_audioBuf) }
// FreeWAV (https://wiki.libsdl.org/SDL_FreeWAV) func FreeWAV(audioBuf []uint8) { sliceHeader := (*reflect.SliceHeader)(unsafe.Pointer(&audioBuf)) _audioBuf := (*C.Uint8)(unsafe.Pointer(sliceHeader.Data)) C.SDL_FreeWAV(_audioBuf) }
func FreeWAV(buf []byte) { C.SDL_FreeWAV((*C.Uint8)(unsafe.Pointer(&buf[0]))) }
func (w *WAVData) Free() { C.SDL_FreeWAV((*C.Uint8)(unsafe.Pointer(w.AudioBuf))) }
// // This function frees data previously allocated with SDL_LoadWAV_RW() func FreeWav(audio_buf *C.Uint8) { C.SDL_FreeWAV(audio_buf) }