print arguments at startup
This commit is contained in:
parent
cedaf41606
commit
ffc0a15e77
1 changed files with 9 additions and 0 deletions
|
|
@ -1364,6 +1364,15 @@ int main( int argc, char **argv )
|
||||||
|
|
||||||
printf("PortAudio LoopBack Test built " __DATE__ " at " __TIME__ "\n");
|
printf("PortAudio LoopBack Test built " __DATE__ " at " __TIME__ "\n");
|
||||||
|
|
||||||
|
if( argc > 1 ){
|
||||||
|
printf("running with arguments:");
|
||||||
|
for(i=1; i < argc; ++i )
|
||||||
|
printf(" %s", argv[i] );
|
||||||
|
printf("\n");
|
||||||
|
}else{
|
||||||
|
printf("running with no arguments");
|
||||||
|
}
|
||||||
|
|
||||||
memset(&userOptions, 0, sizeof(userOptions));
|
memset(&userOptions, 0, sizeof(userOptions));
|
||||||
userOptions.inputDevice = paNoDevice;
|
userOptions.inputDevice = paNoDevice;
|
||||||
userOptions.outputDevice = paNoDevice;
|
userOptions.outputDevice = paNoDevice;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue