-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chan_simpleusb, chan_usbradio: Add parameter to make scaling/clipping optional, fix issue #399 #418
base: master
Are you sure you want to change the base?
Commits on Sep 6, 2024
-
Add RX Audio Statistics and ADC Clip Detection feature. This adds a n…
…ew rxaudiostats parameter to simpleusb.conf, which enables a new function check_rx_audio() in chan_simpleusb.c to be called during processing of received USB audio frames. If ADC clipping is then detected GPIO4 is set for 500mS to support illumination of a node / audio interface Clip LED. Statistics collected also include peak and average RMS audio levels averaged over the previous 1 second, which can be displayed from the simpleusb-tune-menu 'R' option or AMI 'susb tune menu-support a' function.
Configuration menu - View commit details
-
Copy full SHA for 40b886a - Browse repository at this point
Copy the full SHA 40b886aView commit details
Commits on Sep 8, 2024
-
Move rxaudiostats functions to ../res/res_usbradio.c, add 'ast_radio_…
…' prefix to function names. Change rxaudiostats conf parameter name to 'checkrxaudio' and type to int, with value indicating GPIO# to use (or 0 to disable feature), validate value in hidhdwconfig()
Configuration menu - View commit details
-
Copy full SHA for e8f00d0 - Browse repository at this point
Copy the full SHA e8f00d0View commit details -
Add Rx Audio Stats and Clip Detect feature support to chan_usbradio.c…
…. Update susb tune-menu options to be consistent with that of usbradio. Default checkrxaudio conf param to off for usbradio. Add 'TBR' comments on some old sections of code that are present in both chan_simpleusb.c and chan_usbradio.c that will cause digital clipping of tx audio.
Configuration menu - View commit details
-
Copy full SHA for 84644e5 - Browse repository at this point
Copy the full SHA 84644e5View commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for efe18d8 - Browse repository at this point
Copy the full SHA efe18d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55cf18a - Browse repository at this point
Copy the full SHA 55cf18aView commit details
Commits on Sep 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 22bc47f - Browse repository at this point
Copy the full SHA 22bc47fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74dd2e6 - Browse repository at this point
Copy the full SHA 74dd2e6View commit details -
Rename checkrxaudio parameter to clipledgpio (which specifies the GPI…
…O pin to use for the ADC Clip Detect Feature (0=disabled)). Set default value of clipledgpio to disabled in chan_[simpleusb|usbradio].c (so writing to a GPIO won't be automatically enabled during ASL updates), but enabled in configs/rpt/simpleusb.conf.
Configuration menu - View commit details
-
Copy full SHA for 7d66fc6 - Browse repository at this point
Copy the full SHA 7d66fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 217634b - Browse repository at this point
Copy the full SHA 217634bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1d0d88 - Browse repository at this point
Copy the full SHA c1d0d88View commit details -
Configuration menu - View commit details
-
Copy full SHA for a68ca64 - Browse repository at this point
Copy the full SHA a68ca64View commit details
Commits on Sep 15, 2024
-
re-enable scaling code in chan_simplusb and usbradio that scales the …
…raw Tx audio by 1.1 and (usbradio only) scales raw Rx audio by 0.8. (This code should marked TBR should be removed asap as described in issue AllStarLink#399.) Move call to check_rx_audio() to above where the 0.8 rx audio scaling is done in chan_usbradio.c.
Configuration menu - View commit details
-
Copy full SHA for 67859d1 - Browse repository at this point
Copy the full SHA 67859d1View commit details -
consider 0 a valid file descriptor value in ast_radio_print_rx_audio_…
…stats() per review comment
Configuration menu - View commit details
-
Copy full SHA for c9d1b41 - Browse repository at this point
Copy the full SHA c9d1b41View commit details -
update ast_radio_print_rx_audio_stats() function header comment to cl…
…arify that it will print using ast_verbose() if passed in fd < 0
Configuration menu - View commit details
-
Copy full SHA for 5a30d09 - Browse repository at this point
Copy the full SHA 5a30d09View commit details
Commits on Oct 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6d3bece - Browse repository at this point
Copy the full SHA 6d3beceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70683d2 - Browse repository at this point
Copy the full SHA 70683d2View commit details
Commits on Oct 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0ebd611 - Browse repository at this point
Copy the full SHA 0ebd611View commit details
Commits on Oct 7, 2024
-
Fix issue AllStarLink#399, add legacyaudioscaling parameter to allow …
…scaling/clipping code to remain unchanged for existing installs or if user enables parameter in simpleusb/usbradio .conf.
Configuration menu - View commit details
-
Copy full SHA for 1ce8306 - Browse repository at this point
Copy the full SHA 1ce8306View commit details -
Configuration menu - View commit details
-
Copy full SHA for a476a0b - Browse repository at this point
Copy the full SHA a476a0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 889be41 - Browse repository at this point
Copy the full SHA 889be41View commit details