Mercurial > hg > beaglert
changeset 240:1fd334f64f0a
Fixed behaviour of the -G command line closes #1680
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 14 Apr 2016 15:44:38 +0100 |
parents | dca0ca81b685 |
children | adfe95c3cd73 |
files | core/RTAudioCommandLine.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);