src/codeandchords/PortAudioAudioIO.java
protected boolean destroy() {
		if(this.inStream != null)
		{
			if(this.inStream.isActive())	{	this.inStream.stop();	}
			this.inStream.close();
		} // inStream not null

		if(this.outStream != null)
		{
			if(this.outStream.isActive())	{	this.outStream.stop();	}
			this.outStream.close();
		} // outStream not null

		PortAudio.terminate();
		System.out.println("PortAudio terminated.");
		return true;
	}
/** Shuts down PortAudio elements, SourceDataLine and Mixer. */
Shuts down PortAudio elements, SourceDataLine and Mixer.
Shuts down PortAudio elements SourceDataLine and Mixer .
protected boolean destroy() {
		if(this.inStream != null)
		{
			if(this.inStream.isActive())	{	this.inStream.stop();	}
			this.inStream.close();
		} 
		if(this.outStream != null)
		{
			if(this.outStream.isActive())	{	this.outStream.stop();	}
			this.outStream.close();
		} 
		PortAudio.terminate();
		System.out.println("PortAudio terminated.");
		return true;
	}
protected boolean destroy ( ) { if ( this . inStream != null ) { if ( this . inStream . isActive ( ) ) { this . inStream . stop ( ) ; } this . inStream . close ( ) ; } if ( this . outStream != null ) { if ( this . outStream . isActive ( ) ) { this . outStream . stop ( ) ; } this . outStream . close ( ) ; } PortAudio . terminate ( ) ; System . out . println ( "PortAudio terminated." ) ; return true ; }
Shuts down PortAudio elements, SourceDataLine and Mixer.
Shuts down PortAudio elements SourceDataLine and Mixer .
// inStream not null // outStream not null