diff options
| -rwxr-xr-x | edi/edidebug.py | 4 | ||||
| -rwxr-xr-x | send_dabp_to_zmq.py | 4 | ||||
| -rwxr-xr-x | uecpparse/uecp_parse.py | 2 | 
3 files changed, 5 insertions, 5 deletions
| diff --git a/edi/edidebug.py b/edi/edidebug.py index 9339bdb..d6e5f92 100755 --- a/edi/edidebug.py +++ b/edi/edidebug.py @@ -6,7 +6,7 @@  #  # The MIT License (MIT)  # -# Copyright (c) 2017 Matthias P. Braendli +# Copyright (c) 2019 Matthias P. Braendli  #  # Permission is hereby granted, free of charge, to any person obtaining a copy  # of this software and associated documentation files (the "Software"), to deal @@ -506,7 +506,7 @@ def decode_tag(tagpacket):          elif item['name'] == "*dmy":              decode_stardmy(item)          else: -            p.hexpr("Tag item '{}'".format(item['name']), item['value']) +            p.hexpr("Unknown TAG item '{}'".format(item['name']), item['value'])      p.dec()      return True 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) diff --git a/uecpparse/uecp_parse.py b/uecpparse/uecp_parse.py index b0d8822..fad580e 100755 --- a/uecpparse/uecp_parse.py +++ b/uecpparse/uecp_parse.py @@ -199,7 +199,7 @@ while True:      if not data:          break -    line_bytes = [int(i) for i in data] +    line_bytes = list(data)      line_bytes.reverse() | 
