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