diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-21 18:58:42 +0200 | 
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-21 18:58:42 +0200 | 
| commit | e6544091a297623b62964a9028579351a664bf68 (patch) | |
| tree | 4659b5f069cc55f60a1de93f406c73235e13818f /src/utils.cpp | |
| parent | d60b36afc30460f070f25dd8ee8d52b556ea8790 (diff) | |
| download | dabmux-e6544091a297623b62964a9028579351a664bf68.tar.gz dabmux-e6544091a297623b62964a9028579351a664bf68.tar.bz2 dabmux-e6544091a297623b62964a9028579351a664bf68.zip | |
Replace subchannel id by enum
Diffstat (limited to 'src/utils.cpp')
| -rw-r--r-- | src/utils.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/utils.cpp b/src/utils.cpp index d81ec71..5a30b1b 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -393,16 +393,16 @@ void printSubchannels(vector<dabSubchannel*>& subchannels)          etiLog.log(info, "   name:     %s",                  (*subchannel)->inputName);          switch ((*subchannel)->type) { -        case 0: +        case Audio:              etiLog.log(info, " type:       audio");              break; -        case 1: +        case DataDmb:              etiLog.log(info, " type:       data");              break; -        case 2: +        case Fidc:              etiLog.log(info, " type:       fidc");              break; -        case 3: +        case Packet:              etiLog.log(info, " type:       packet");              break;          default: | 
