예제 #1
0
// Abort terminates audio processing immediately
// without waiting for pending buffers to complete.
func (s *Stream) Abort() error {
	return newError(C.Pa_AbortStream(s.paStream))
}
예제 #2
0
// AbortStream function as declared in portaudio/portaudio.h:949
func AbortStream(stream *Stream) Error {
	cstream, _ := (unsafe.Pointer)(unsafe.Pointer(stream)), cgoAllocsUnknown
	__ret := C.Pa_AbortStream(cstream)
	__v := (Error)(__ret)
	return __v
}