mme test only list output devices
This commit is contained in:
parent
73c241d7ba
commit
eb0d429b7a
1 changed files with 2 additions and 2 deletions
|
|
@ -364,8 +364,8 @@ static void usage( int wmmeHostApiIndex )
|
||||||
fprintf( stderr, "Invalid device index. Use one of these:\n" );
|
fprintf( stderr, "Invalid device index. Use one of these:\n" );
|
||||||
for( i=0; i < Pa_GetDeviceCount(); ++i ){
|
for( i=0; i < Pa_GetDeviceCount(); ++i ){
|
||||||
|
|
||||||
if( Pa_GetDeviceInfo(i)->hostApi == wmmeHostApiIndex )
|
if( Pa_GetDeviceInfo(i)->hostApi == wmmeHostApiIndex && Pa_GetDeviceInfo(i)->maxOutputChannels > 0 )
|
||||||
fprintf( stderr, "%d (%s)\n", i, Pa_GetDeviceInfo(i)->name);
|
fprintf( stderr, "%d (%s)\n", i, Pa_GetDeviceInfo(i)->name );
|
||||||
}
|
}
|
||||||
Pa_Terminate();
|
Pa_Terminate();
|
||||||
exit(-1);
|
exit(-1);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue