Пример #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))
}
Пример #2
0
// 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))
}