diff options
author | sanine <sanine.not@pm.me> | 2022-08-27 23:52:56 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-27 23:52:56 -0500 |
commit | a4dd0ad63c00f4dee3b86dfd3075d1d61b2b3180 (patch) | |
tree | 13bd5bfa15e6fea2a12f176bae79adf9c6fd0933 /portaudio/doc/src/tutorial/initializing_portaudio.dox | |
parent | bde3e4f1bb7b8f8abca0884a7d994ee1c17a66b1 (diff) |
add plibsys
Diffstat (limited to 'portaudio/doc/src/tutorial/initializing_portaudio.dox')
-rw-r--r-- | portaudio/doc/src/tutorial/initializing_portaudio.dox | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/portaudio/doc/src/tutorial/initializing_portaudio.dox b/portaudio/doc/src/tutorial/initializing_portaudio.dox deleted file mode 100644 index 9439c35..0000000 --- a/portaudio/doc/src/tutorial/initializing_portaudio.dox +++ /dev/null @@ -1,29 +0,0 @@ -/** @page initializing_portaudio Initializing PortAudio -@ingroup tutorial - -@section tut_init1 Initializing PortAudio - -Before making any other calls to PortAudio, you 'must' call Pa_Initialize(). This will trigger a scan of available devices which can be queried later. Like most PA functions, it will return a result of type paError. If the result is not paNoError, then an error has occurred. -@code -err = Pa_Initialize(); -if( err != paNoError ) goto error; -@endcode - -You can get a text message that explains the error message by passing it to Pa_GetErrorText( err ). For Example: - -@code -printf( "PortAudio error: %s\n", Pa_GetErrorText( err ) ); -@endcode - -It is also important, when you are done with PortAudio, to Terminate it: - -@code -err = Pa_Terminate(); -if( err != paNoError ) - printf( "PortAudio error: %s\n", Pa_GetErrorText( err ) ); -@endcode - - -Previous: \ref writing_a_callback | Next: \ref open_default_stream - -*/
\ No newline at end of file |