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,7 +364,7 @@ static void usage( int wmmeHostApiIndex )
|
|||
fprintf( stderr, "Invalid device index. Use one of these:\n" );
|
||||
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 );
|
||||
}
|
||||
Pa_Terminate();
|
||||
|
|
|
|||
Loading…
Reference in a new issue