fixed audio recording in packet detection