diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-11 13:34:25 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-11 13:34:25 +0100 |
commit | 7c0ba33167476500b0593598814b95304a3d4ded (patch) | |
tree | 3ea421043b4620ee74dad70b44287d88100c3544 /src/ParserConfigfile.cpp | |
parent | 33864ac8cf65ff0ba46ea57ce5dde0db3999d7db (diff) | |
download | dabmux-7c0ba33167476500b0593598814b95304a3d4ded.tar.gz dabmux-7c0ba33167476500b0593598814b95304a3d4ded.tar.bz2 dabmux-7c0ba33167476500b0593598814b95304a3d4ded.zip |
create base class for ZMQ inputs, put AAC+ ZMQ into child class
Diffstat (limited to 'src/ParserConfigfile.cpp')
-rw-r--r-- | src/ParserConfigfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ParserConfigfile.cpp b/src/ParserConfigfile.cpp index 9468a32..883f5fc 100644 --- a/src/ParserConfigfile.cpp +++ b/src/ParserConfigfile.cpp @@ -538,7 +538,7 @@ void setup_subchannel_from_ptree(dabSubchannel* subchan, } else if (strcmp(subchan->inputProto, "tcp") == 0) { input_is_old_style = false; - DabInputZmq* inzmq = new DabInputZmq(subchanuid); + DabInputZmqAAC* inzmq = new DabInputZmqAAC(subchanuid); inzmq->enrol_at(*rc); subchan->input = inzmq; subchan->inputName = full_inputName; @@ -546,7 +546,7 @@ void setup_subchannel_from_ptree(dabSubchannel* subchan, else if (strcmp(subchan->inputProto, "epmg") == 0) { etiLog.level(warn) << "Using untested epmg:// zeromq input"; input_is_old_style = false; - DabInputZmq* inzmq = new DabInputZmq(subchanuid); + DabInputZmqAAC* inzmq = new DabInputZmqAAC(subchanuid); inzmq->enrol_at(*rc); subchan->input = inzmq; subchan->inputName = full_inputName; @@ -554,7 +554,7 @@ void setup_subchannel_from_ptree(dabSubchannel* subchan, else if (strcmp(subchan->inputProto, "ipc") == 0) { etiLog.level(warn) << "Using untested ipc:// zeromq input"; input_is_old_style = false; - DabInputZmq* inzmq = new DabInputZmq(subchanuid); + DabInputZmqAAC* inzmq = new DabInputZmqAAC(subchanuid); inzmq->enrol_at(*rc); subchan->input = inzmq; subchan->inputName = full_inputName; |