I looked at the patch attached to this bug report and noticed the if on
line 70 of the patch will always evaluate true. Was meant to be "if ( i
> 1 )" like line 68 of the patch, or maybe removed?

-Ted

 60 -        for ( int i = 1; i < audio->getDeviceCount(); i++ )
 61 +        for ( int i = 1; i <= audio->getDeviceCount(); i++ )
 62          {
 63              RtAudioDeviceInfo info;
 64              info = audio->getDeviceInfo( i );
 65              QString name = QString::fromStdString( info.name );
 66
 67 -            #ifdef WIN32
 68 -            if ( i > 1 )
 69 -            #endif
 70 +            if ( i > 0 )
 71                  ui_system.cardBox->addItem( name );
 72          }

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to