diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-23 09:10:35 +0200 | 
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-23 09:10:35 +0200 | 
| commit | 606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3 (patch) | |
| tree | e067c99ea946ba4877e12e3939c7fe6433d94f6f /src/ConfigParser.cpp | |
| parent | 262a43fc5dcc04731a8951ee44555f582f7e8106 (diff) | |
| download | dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.tar.gz dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.tar.bz2 dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.zip | |
Enable and take care of some warnings
Diffstat (limited to 'src/ConfigParser.cpp')
| -rw-r--r-- | src/ConfigParser.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 8c5cbaa..718946b 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -855,7 +855,7 @@ void setup_subchannel_from_ptree(dabSubchannel* subchan,      if (nonblock) {          switch (subchan->type) {  #ifdef HAVE_FORMAT_PACKET -            case 3: +            case Packet:                  if (operations == dabInputPacketFileOperations) {                      operations = dabInputFifoOperations;  #ifdef HAVE_FORMAT_EPM @@ -871,7 +871,7 @@ void setup_subchannel_from_ptree(dabSubchannel* subchan,                  break;  #endif // defined(HAVE_FORMAT_PACKET)  #ifdef HAVE_FORMAT_MPEG -            case 0: +            case Audio:                  if (operations == dabInputMpegFileOperations) {                      operations = dabInputMpegFifoOperations;                  } else if (operations == dabInputDabplusFileOperations) { @@ -884,6 +884,8 @@ void setup_subchannel_from_ptree(dabSubchannel* subchan,                  }                  break;  #endif // defined(HAVE_FORMAT_MPEG) +            case DataDmb: +            case Fidc:              default:                  stringstream ss;                  ss << "Subchannel with uid " << subchanuid << | 
