Commit graph

31 commits

Author SHA1 Message Date
Birk da Yooper 7656d4335b Added flag to set alternate controller address
Added flag to show CI-V packet contents to support debugging

At start-up show virtual soundcard info by both name & filesystem location
Updated to always present status lines at bottom of the terminal
Removed milliseconds from time shown on status lines
Reformatted status line showing packet activity to be easier to follow
Adjusted default status update frequency to 150ms to be easier to observe

Restored commented out code for working with single VFO

Added multiple functions to handle BCD <-> human readable values to improve easy of maintenance
Added function to prepare CI-V packets, abstracting this step so that each function no longer
  needs to create entire packet. This makes the code much easier to follow and maintaint.
  This will also greatly ease effort needed for extending radio features supported

Added/adjusted various comments

Updated some variable names to be less terse to facilitate maintenance
  eg "incTS" to "incTuningStep"

Some adjustments to improve readability/ease maintenance in favor of unnecessary optimizations
  EG - using formatted prints instead of prints using concatenations
       using strings.Repeat instead of loop to build space buffers
       abstracted control char strings to variables

Hooks for future functionality

Removed some commented out code blocks
   "Trust the repo, Luke!"
2024-02-24 20:53:49 -05:00
Nonoo 49a55094d4 Cleanup data mode enable on TX 2020-12-21 08:57:06 +01:00
David Izaguirre ceff326690 My radio is configured to only modulate on the digital setting, so it's convinent to have the software set digital mode automatically. 2020-12-19 23:05:28 -05:00
Nonoo bed7d95f7c Decrease latency of RX seqbuf 2020-11-21 11:01:37 +01:00
Nonoo aeeaa981cf Fix panic on audio stream timeout 2020-11-09 10:05:39 +01:00
Nonoo b4836751f2 Fix hang when pulseaudio goes offline 2020-11-03 12:49:32 +01:00
Nonoo 32e2857285 Add PTT and audio send from default soundcard for the space key 2020-10-30 22:12:30 +01:00
Nonoo 5d38438f64 Make variable names specific 2020-10-30 20:34:42 +01:00
Nonoo 218c37f1f2 Cleanup 2020-10-30 17:25:09 +01:00
Nonoo 5435fb600c Fix audio monitor playback 2020-10-30 17:16:48 +01:00
Nonoo c1ded2e3a2 Report audio monitor status on the status bar 2020-10-30 16:21:43 +01:00
Nonoo e1ef8cd31f Deinit default audio output 2020-10-30 16:21:26 +01:00
Nonoo eed09e0956 Add 'l' hotkey for quickly listening into the incoming audio stream 2020-10-30 15:57:33 +01:00
Nonoo 9c8e356a21 Init virtual sound card, serial port and serial port TCP server only once
We init only once with the first device name we acquire, so apps using these
interfaces won't have issues with the interface going down while the app is
running.
2020-10-28 22:32:45 +01:00
Nonoo 757dc58280 Fix audio delay if nothing is reading the virtual sound card 2020-10-28 18:02:44 +01:00
Nonoo a4317908e3 Fix audio deinit hang 2020-10-27 17:31:07 +01:00
Nonoo 47fc725c71 Fix cleaning up sink pipes 2020-10-27 14:22:08 +01:00
Nonoo 56f30cf1ab Fix audio pipe filename 2020-10-27 14:20:43 +01:00
Nonoo c008bb3b3d Cleanup audio buffer size calculation 2020-10-27 14:20:27 +01:00
Nonoo edb20dda86 Cleanup previous audio pipes 2020-10-27 14:12:20 +01:00
Nonoo 00aeab93b5 Fix sending audio 2020-10-27 11:55:09 +01:00
Nonoo bb1b04caae Cleanup 2020-10-27 09:25:36 +01:00
Akos Marton 4f3734957c Do not send silence frames to the radio 2020-10-27 10:03:22 +02:00
Nonoo f42efc1f04 Use some constants 2020-10-26 10:33:24 +01:00
Nonoo d2efa14e9c Move log into the main package 2020-10-26 09:09:30 +01:00
Nonoo f996301830 Add platform specific build tags 2020-10-25 21:25:38 +01:00
Nonoo f5a0b5e61e Fix occasional hang on audio deinit 2020-10-25 11:03:39 +01:00
Nonoo e9d71de2c4 Add delayed deinit 2020-10-23 16:20:09 +02:00
Nonoo f79d23f755 Add support for restarting the whole process on failure 2020-10-23 14:00:59 +02:00
Nonoo 9dbd5760ce Use radio name for pulse dev description 2020-10-21 16:09:10 +02:00
Nonoo f2edd1a106 Move platform specific stuff to separate files 2020-10-21 09:26:21 +02:00
Renamed from audio.go (Browse further)