gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

terminating_portaudio.dox (545B)


      1 /** @page terminating_portaudio Closing a Stream and Terminating PortAudio
      2 @ingroup tutorial
      3 
      4 When you are done with a stream, you should close it to free up resources:
      5 
      6 @code
      7     err = Pa_CloseStream( stream );
      8     if( err != paNoError ) goto error;
      9 @endcode
     10 
     11 We've already mentioned this in \ref initializing_portaudio, but in case you forgot, be sure to terminate PortAudio when you are done:
     12 
     13 @code
     14     err = Pa_Terminate( );
     15     if( err != paNoError ) goto error;
     16 @endcode
     17 
     18 Previous: \ref start_stop_abort | Next: \ref utility_functions
     19 
     20 */