# HG changeset patch # User Giulio Moro # Date 1460645078 -3600 # Node ID 1fd334f64f0a135eadbbe9048008b88f59a20b97 # Parent dca0ca81b685408faff131c64376179c22594d35 Fixed behaviour of the -G command line closes #1680 diff -r dca0ca81b685 -r 1fd334f64f0a core/RTAudioCommandLine.cpp --- a/core/RTAudioCommandLine.cpp Tue Apr 12 14:21:40 2016 +0200 +++ b/core/RTAudioCommandLine.cpp Thu Apr 14 15:44:38 2016 +0100 @@ -160,7 +160,9 @@ break; case 'G': settings->useDigital = atoi(optarg); - settings->numDigitalChannels = 0; + if(settings->useDigital == 0){ + settings->numDigitalChannels = 0; + } break; case 'C': settings->numAnalogChannels = atoi(optarg);