Example #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))
}
Example #2
0
File: audio.go Project: 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))
}