Exemplo n.º 1
0
func (a *Stream) SetFragment(val unsafe.Pointer) bool {
	return bool(C.al_set_audio_stream_fragment((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a)), val))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Sets an unsafe pointer as the the audio stream's fragment
func (self *AudioStream) SetFragment(ptr unsafe.Pointer) bool {
	return cb2b(C.al_set_audio_stream_fragment(self.handle, ptr))
}