close
Close the stream and release all associated native resources.
After closing, this stream instance cannot be reused. Create a new stream via AudioEngine.openStream if needed. It is safe to call close on an already-closed stream (it will be a no-op).
Subsequent calls to start, pause, stop, write, or read throw ResourceReleasedException.
This method is safe to call from any thread.
Close the stream and release all associated native resources.
After closing, this stream instance cannot be reused. Create a new stream via AudioEngine.openStream if needed. It is safe to call close on an already-closed stream (it will be a no-op).
Subsequent calls to start, pause, stop, write, or read throw ResourceReleasedException.
This method is safe to call from any thread.
Close the stream and release all associated native resources.
After closing, this stream instance cannot be reused. Create a new stream via AudioEngine.openStream if needed. It is safe to call close on an already-closed stream (it will be a no-op).
Subsequent calls to start, pause, stop, write, or read throw ResourceReleasedException.
This method is safe to call from any thread.
Close the stream and release all associated native resources.
After closing, this stream instance cannot be reused. Create a new stream via AudioEngine.openStream if needed. It is safe to call close on an already-closed stream (it will be a no-op).
Subsequent calls to start, pause, stop, write, or read throw ResourceReleasedException.
This method is safe to call from any thread.
Close the stream and release all associated native resources.
After closing, this stream instance cannot be reused. Create a new stream via AudioEngine.openStream if needed. It is safe to call close on an already-closed stream (it will be a no-op).
Subsequent calls to start, pause, stop, write, or read throw ResourceReleasedException.
This method is safe to call from any thread.
Close the stream and release all associated native resources.
After closing, this stream instance cannot be reused. Create a new stream via AudioEngine.openStream if needed. It is safe to call close on an already-closed stream (it will be a no-op).
Subsequent calls to start, pause, stop, write, or read throw ResourceReleasedException.
This method is safe to call from any thread.