Example #1
0
func (a *Stream) Drain() {
	C.al_drain_audio_stream((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a)))
}
Example #2
0
File: audio.go Project: beoran/algo
// Drains all data from an audio stream
func (self *AudioStream) Drain() {
	C.al_drain_audio_stream(self.handle)
}