From: <jpg...@us...> - 2007-10-03 21:13:45
|
Revision: 1176 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1176&view=rev Author: jpgrayson Date: 2007-10-03 14:13:49 -0700 (Wed, 03 Oct 2007) Log Message: ----------- Whitespace. Modified Paths: -------------- trunk/lib/audio_portaudio.c Modified: trunk/lib/audio_portaudio.c =================================================================== --- trunk/lib/audio_portaudio.c 2007-10-03 19:26:45 UTC (rev 1175) +++ trunk/lib/audio_portaudio.c 2007-10-03 21:13:49 UTC (rev 1176) @@ -692,7 +692,7 @@ // first we'll try mono ring_stream_params.channelCount = 1; - err = Pa_OpenStream ( &aStream, + err = Pa_OpenStream(&aStream, NULL, &ring_stream_params, sample_rate, @@ -703,10 +703,10 @@ if ( err != paNoError ) { - // next we'll try virtual mono (stereo) - ring_stream_params.channelCount = 1; + // next we'll try virtual mono (stereo) + ring_stream_params.channelCount = 1; - err = Pa_OpenStream ( &aStream, + err = Pa_OpenStream(&aStream, NULL, &ring_stream_params, sample_rate, @@ -714,14 +714,13 @@ paNoFlag, (PaStreamCallback *)pa_aux_callback, NULL); - } // mmok, failure... if ( err != paNoError ) { - // fprintf(stderr, "Failure opening ring device with params: id: %d, output %d, default output %d\n", - // selectedRing, selectedOutput, Pa_GetDefaultOutputDevice()); + // fprintf(stderr, "Failure opening ring device with params: id: %d, output %d, default output %d\n", + // selectedRing, selectedOutput, Pa_GetDefaultOutputDevice()); handle_paerror(err, "opening separate ring stream"); return -1; @@ -756,7 +755,8 @@ if ( errcnt > 5 ) { iaxci_usermsg(IAXC_TEXT_TYPE_FATALERROR, - "iaxclient audio: Can't open Audio Device. Perhaps you do not have an input or output device?"); + "iaxclient audio: Can't open Audio Device. " + "Perhaps you do not have an input or output device?"); /* OK, we'll give the application the option to abort or * not here, but we will throw a fatal error anyway */ iaxc_millisleep(1000); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |