Again - choppy-audio-with-new-asl-release-asl3-asterisk-22-2-0-asl3-3-3-0

Could you please answer MY question?

Sorry, I missed this post before.

Correct, audio is fine for x amount of time (I’m trying to observe the approx. amount of time) and then becomes choppy. I can’t yet say if it starts out “slightly” choppy and becomes worse over time but I will try to quantify that tomorrow as there are several nets that will exercise my system.

I am also trying to see if CPU/memory usage of the VM goes up as the choppiness happens as well.

When I run lsmod and grep for snd_usb_audio:

root@ParrettASL:~# lsmod |grep  snd_usb_audio
snd_usb_audio         376832  1
snd_usbmidi_lib        45056  1 snd_usb_audio
snd_hwdep              16384  1 snd_usb_audio
mc                     81920  1 snd_usb_audio
snd_pcm               159744  2 snd_usb_audio,snd_pcm_oss
snd                   126976  9 snd_seq_device,snd_hwdep,snd_usb_audio,snd_usbmidi_lib,snd_timer,snd_pcm_oss,snd_pcm,snd_rawmidi,snd_mixer_oss
usbcore               348160  8 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,ehci_hcd,xhci_pci,uhci_hcd
root@ParrettASL:~# 

Would you be willing to run the “devel” version and see if the issue is resolved? There are some more coding deadlocks and other issued fixed in the current devel branch.

Sure! Just let me know what I need

See Beta Testing - AllStarLink Manual and use ‘devel’ instead of ‘beta’.

Done. I will report back.

I installed the development version on Friday at one of my sites and it appears to have resolved the choppy audio. I will install it at my 2nd site today and give it a good workout over the coming week. Thanks!

Thank you for the update!

After a week of running the development fork of ASL3, the choppiness has not returned. Good job!

I have a node that had and still has some intermittent glitches in the USB rx audio (from URI ADC). This node had not been updated in a few months so I updated it to latest ASL3.3 and the issue was still there. I then tried updating to latest devel and that doesn't fix it either. sudo asterisk -V shows: Asterisk 22.2.0+asl3-3.4.2-1.deb12

I have another node with the same URI and everything is fine on that, it has Asterisk 20.11.0+asl3-3.2.0-2.deb12.

Here is what the glitches look like:


(from parrot wav file recorded by the node in /tmp/)
ie. there are anywhere from maybe 5 ~15 zero's in the PCM data, but only happens intermittently, maybe once every 10 to 20 seconds of audio, with maybe 8 or 9 out of 10 20mS USB frames then having a sequence of zero sample values (presumably at frame boundaries), resulting in some choppiness/distortion in the audio.

Please LMK of any suggestions on how to debug this issue on this node.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.