// Terminate deallocates all resources allocated by PortAudio
// since it was initialized by a call to Initialize().
//
// In cases where Initialize() has been called multiple times,
// each call must be matched with a corresponding call to Pa_Terminate().
// The final matching call to Pa_Terminate() will automatically
// close any PortAudio streams that are still open..
//
// Terminate MUST be called before exiting a program which uses PortAudio.
// Failure to do so may result in serious resource leaks, such as audio devices
// not being available until the next reboot.
Terminate deallocates all resources allocated by PortAudio
since it was initialized by a call to Initialize().

In cases where Initialize() has been called multiple times,
each call must be matched with a corresponding call to Pa_Terminate().
The final matching call to Pa_Terminate() will automatically
close any PortAudio streams that are still open

Terminate MUST be called before exiting a program which uses PortAudio.
Failure to do so may result in serious resource leaks, such as audio devices
not being available until the next reboot.
// Terminate deallocates all resources allocated by PortAudio // since it was initialized by a call to Initialize () . // // In cases where Initialize () has been called multiple times // each call must be matched with a corresponding call to Pa_Terminate () . // The final matching call to Pa_Terminate () will automatically // close any PortAudio streams that are still open .. // // Terminate MUST be called before exiting a program which uses PortAudio . // Failure to do so may result in serious resource leaks such as audio devices // not being available until the next reboot .
func Terminate() error {
	paErr := C.Pa_Terminate()
	if paErr != C.paNoError {
		return newError(paErr)
	}
	initialized--
	if initialized <= 0 {
		initialized = 0
		cached = false
	}
	return nil
}
func Terminate ( ) error { paErr := C . Pa_Terminate ( ) if paErr != C . paNoError { return newError ( paErr ) } initialized -- if initialized <= 0 { initialized = 0 cached = false } return nil }
Terminate deallocates all resources allocated by PortAudio
since it was initialized by a call to Initialize().
Terminate deallocates all resources allocated by PortAudio since it was initialized by a call to Initialize () .