summaryrefslogtreecommitdiffstats
path: root/src/Outputs.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-25 15:40:54 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-25 15:40:54 +0100
commitc6a73c219dbfdfe639372d9922f4eb512f06fa2f (patch)
tree32385e32619e0d22c7f80ad6d0b90d9d58d55368 /src/Outputs.cpp
parent8df764af13e71062f24f60c08a1dc3e3c0d2e371 (diff)
downloadODR-AudioEnc-c6a73c219dbfdfe639372d9922f4eb512f06fa2f.tar.gz
ODR-AudioEnc-c6a73c219dbfdfe639372d9922f4eb512f06fa2f.tar.bz2
ODR-AudioEnc-c6a73c219dbfdfe639372d9922f4eb512f06fa2f.zip
Rename ZMQ_ENCODER_XYZ constants
Diffstat (limited to 'src/Outputs.cpp')
-rw-r--r--src/Outputs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Outputs.cpp b/src/Outputs.cpp
index 01156ce..27ab365 100644
--- a/src/Outputs.cpp
+++ b/src/Outputs.cpp
@@ -108,10 +108,10 @@ bool ZMQ::write_frame(const uint8_t *buf, size_t len)
try {
switch (m_encoder) {
case encoder_selection_t::fdk_dabplus:
- zmq_frame_header->encoder = ZMQ_ENCODER_FDK;
+ zmq_frame_header->encoder = ZMQ_ENCODER_AACPLUS;
break;
case encoder_selection_t::toolame_dab:
- zmq_frame_header->encoder = ZMQ_ENCODER_TOOLAME;
+ zmq_frame_header->encoder = ZMQ_ENCODER_MPEG_L2;
break;
}