From 37c97e345d12f95dde44e1d1a4c2f2aadd4615bc Mon Sep 17 00:00:00 2001 From: sanine Date: Thu, 25 Aug 2022 14:54:53 -0500 Subject: add initial structure --- portaudio/doc/src/tutorial/terminating_portaudio.dox | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 portaudio/doc/src/tutorial/terminating_portaudio.dox (limited to 'portaudio/doc/src/tutorial/terminating_portaudio.dox') diff --git a/portaudio/doc/src/tutorial/terminating_portaudio.dox b/portaudio/doc/src/tutorial/terminating_portaudio.dox new file mode 100644 index 0000000..67f74f6 --- /dev/null +++ b/portaudio/doc/src/tutorial/terminating_portaudio.dox @@ -0,0 +1,20 @@ +/** @page terminating_portaudio Closing a Stream and Terminating PortAudio +@ingroup tutorial + +When you are done with a stream, you should close it to free up resources: + +@code + err = Pa_CloseStream( stream ); + if( err != paNoError ) goto error; +@endcode + +We've already mentioned this in \ref initializing_portaudio, but in case you forgot, be sure to terminate PortAudio when you are done: + +@code + err = Pa_Terminate( ); + if( err != paNoError ) goto error; +@endcode + +Previous: \ref start_stop_abort | Next: \ref utility_functions + +*/ \ No newline at end of file -- cgit v1.2.1