func (s *Stream) Stop() error { err := C.Pa_StopStream(s.paStream) if err != C.paNoError { return newError(err) } return nil }
// Stop terminates audio processing. It waits until all pending // audio buffers have been played before it returns. func (s *Stream) Stop() error { return newError(C.Pa_StopStream(s.paStream)) }
func (strm *Stream) Close() { C.Pa_StopStream(strm.cee) C.Pa_CloseStream(strm.cee) strm.cee = nil // we really don't want a wild pointer around }
// StopStream function as declared in portaudio/portaudio.h:943 func StopStream(stream *Stream) Error { cstream, _ := (unsafe.Pointer)(unsafe.Pointer(stream)), cgoAllocsUnknown __ret := C.Pa_StopStream(cstream) __v := (Error)(__ret) return __v }