diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-01-19 14:49:17 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-01-19 14:49:17 +0100 |
commit | 23ade5792e57fd380aa72de9039148a7f946f3d6 (patch) | |
tree | 9e00003002b5c0f9d1b0c17d2b617ad3c5285134 /send_dabp_to_zmq.py | |
parent | 2234137c48974c11cd6053ec7e1af8b0f96f5737 (diff) | |
download | mmbtools-aux-master.tar.gz mmbtools-aux-master.tar.bz2 mmbtools-aux-master.zip |
Diffstat (limited to 'send_dabp_to_zmq.py')
-rwxr-xr-x | send_dabp_to_zmq.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/send_dabp_to_zmq.py b/send_dabp_to_zmq.py index 2e87410..0a2bd6d 100755 --- a/send_dabp_to_zmq.py +++ b/send_dabp_to_zmq.py @@ -39,7 +39,7 @@ args = parser.parse_args() frame_header = "<HHIhh" # Taken from ODR-AudioEnc sources' utils.h -ZMQ_ENCODER_FDK=1 +ZMQ_ENCODER_AACPLUS=1 # About the datasize field and the number of bytes per ZMQ message: # One ZMQ message contains 120ms worth of encoded data, i.e. one superframe @@ -84,7 +84,7 @@ while True: # Let us build a frame starting with the header version=1 - encoder=ZMQ_ENCODER_FDK + encoder=ZMQ_ENCODER_AACPLUS # we fake the audio level, munin might flag a warning, but that can be sorted out # later. Range for the audiolevel is 0 to 0x7FFF (range of signed 16-bit integer) |