diff options
-rw-r--r-- | src/Outputs.cpp | 4 | ||||
-rw-r--r-- | src/Outputs.h | 4 |
2 files changed, 4 insertions, 4 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; } diff --git a/src/Outputs.h b/src/Outputs.h index 3a302b1..1211841 100644 --- a/src/Outputs.h +++ b/src/Outputs.h @@ -91,8 +91,8 @@ struct zmq_frame_header_t /* Data follows this header */ } __attribute__ ((packed)); -#define ZMQ_ENCODER_FDK 1 -#define ZMQ_ENCODER_TOOLAME 2 +#define ZMQ_ENCODER_AACPLUS 1 +#define ZMQ_ENCODER_MPEG_L2 2 #define ZMQ_HEADER_SIZE sizeof(struct zmq_frame_header_t) |