From 90551b732dce5ab57e63f1c86e6de931e35c93af Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 14 Apr 2013 18:46:59 -0700 Subject: [PATCH] Mixer: When listing plugins, properly display mono compatibe plugins. --- mixer/src/Plugin_Chooser.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixer/src/Plugin_Chooser.C b/mixer/src/Plugin_Chooser.C index 9c4bfeb..c68d72e 100644 --- a/mixer/src/Plugin_Chooser.C +++ b/mixer/src/Plugin_Chooser.C @@ -66,7 +66,7 @@ Plugin_Chooser::search ( const char *name, const char *author, const char *categ strcasestr( p->author, author ) ) { 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 )) || ( p->audio_inputs == 1 && p->audio_outputs == 1 ) ) ) continue;