Example #1
1
func (music *Music) Free() {
	_music := (*C.Mix_Music)(unsafe.Pointer(music))
	C.Mix_FreeMusic(_music)
}
Example #2
0
// Free audio music previously loaded
func FreeMusic(music * C.Mix_Music) {
  C.Mix_FreeMusic(music)
} 
Example #3
0
// Frees the loaded music file.
func (m *Music) Free() { C.Mix_FreeMusic(m.cmusic) }
Example #4
0
func (t *Music) Destroy() {
	C.Mix_FreeMusic(t.mus)
	t.mus = nil
}