// Close terminates the stream.
Close terminates the stream.
// Close terminates the stream .
func (s *Stream) Close() error {
	if !s.closed {
		s.closed = true
		err := newError(C.Pa_CloseStream(s.paStream))
		delStream(s)
		return err
	}
	return nil
}
func ( s * Stream ) Close ( ) error { if ! s . closed { s . closed = true err := newError ( C . Pa_CloseStream ( s . paStream ) ) delStream ( s ) return err } return nil }
Close terminates the stream.
Close terminates the stream .