Mixer: When listing plugins, properly display mono compatibe plugins.

This commit is contained in:
Jonathan Moore Liles 2013-04-14 18:46:59 -07:00
parent b3830057cb
commit 90551b732d
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ Plugin_Chooser::search ( const char *name, const char *author, const char *categ
strcasestr( p->author, author ) ) strcasestr( p->author, author ) )
{ {
if ( ! if ( !
((( ( ninputs == 0 || ninputs == p->audio_inputs ) ) && ((( ( ninputs == 0 || ninputs == p->audio_inputs || ( ninputs == 1 && p->audio_inputs == 2 ) ) ) &&
( noutputs == 0 || noutputs == p->audio_outputs )) || ( noutputs == 0 || noutputs == p->audio_outputs )) ||
( p->audio_inputs == 1 && p->audio_outputs == 1 ) ) ) ( p->audio_inputs == 1 && p->audio_outputs == 1 ) ) )
continue; continue;