Phil Taylor
596f2739b9
Use ring buffer with rtaudio to eliminate mutexes
2021-05-27 11:41:08 +01:00
Phil Taylor
ae69ef05e5
Non working test
2021-05-23 16:09:41 +01:00
Phil Taylor
f22f4224dd
Merge branch 'lan-alpha' into rtaudio
2021-05-22 21:09:04 +01:00
Phil Taylor
0bbb9017c9
Stop audiohandler re-enumerating devices on connect.
2021-05-22 10:43:57 +01:00
Phil Taylor
b669605e11
Add baud rate detection for remote rigs
2021-05-21 16:30:52 +01:00
Phil Taylor
ac3ed7480f
Remove unused variables
2021-05-18 19:45:34 +01:00
Phil Taylor
6074372e37
Merge branch 'ui-enhance' into lan-alpha
2021-05-18 09:35:58 +01:00
Phil Taylor
369ba90897
Allow receive only in udpHandler
2021-05-18 09:32:56 +01:00
Phil Taylor
bada37acdf
Make audio input buffer a qMap
2021-05-17 16:19:36 +01:00
Phil Taylor
02b9311931
Use qMap instead of qVector for buffers as they are auto-sorted.
2021-05-17 16:03:53 +01:00
Phil Taylor
e4edda9576
register audio metatype in wfmain with all of the others
2021-05-16 21:35:22 +01:00
Phil Taylor
57bffd73a2
More rtaudio stuff
2021-05-16 21:16:59 +01:00
Phil Taylor
a8e895e654
Allow user to configure client name
2021-03-27 16:07:17 +00:00
Phil Taylor
c2091e9c4e
Add local volume control for UDP connections.
2021-03-22 18:53:34 +00:00
Phil Taylor
8583973ca8
Add USB audio handling to UDP server
2021-03-22 09:10:03 +00:00
Phil Taylor
03de9b0dfd
Small fix for audio packet handling
2021-03-14 08:44:30 +00:00
Phil Taylor
a0f4a4deeb
Add audio resampler
2021-03-09 17:22:16 +00:00
Phil Taylor
261794c1c8
Change authseq to be 8bit which hopefully will fix the 4 hour disconnect issue.
2021-03-06 14:33:31 +00:00
Phil Taylor
f5117fd921
Add separate mutex for udp/buffers.
2021-03-03 09:50:15 +00:00
Phil Taylor
a254a937ff
Allow selection of audio input and output devices for UDP Audio
2021-03-01 20:31:05 +00:00
Phil Taylor
91a60bf918
Create udpPreferences struct and remove civPort and audioPort from UI
2021-03-01 19:53:12 +00:00
Phil Taylor
aef03a6b7e
Add audio handling to UDP server
2021-02-28 20:10:07 +00:00
Phil Taylor
27eb855adb
Create rx audio packets with timestamp
...
Lots of other changes but if this works OK, I will update tx audio to use the same system.
2021-02-27 00:37:00 +00:00
Phil Taylor
46789342df
Reduce TX period to 10ms
2021-02-25 18:05:01 +00:00
Phil Taylor
ea32c7f097
Various fixes and add watchdog in case of loss of civ or audio.
2021-02-25 17:53:01 +00:00
Phil Taylor
6f6145f726
Many changes to mitigate network instability
2021-02-24 22:56:40 +00:00
Phil Taylor
ffc62213cd
Fix lockup to 785x
2021-02-24 11:00:23 +00:00
Phil Taylor
80148a84bf
More fixes to retransmit logic
2021-02-23 20:48:53 +00:00
Phil Taylor
ae3005b8f8
Changes to retransmit code
2021-02-22 22:25:09 +00:00
Phil Taylor
7d5a066108
Small fix when requesting stream
2021-02-21 15:06:27 +00:00
Phil Taylor
ba0509ba61
Fix txaudio and move udphandler into its own thread
2021-02-21 14:53:42 +00:00
Phil Taylor
4e6d4d5faa
Some more packet type fixes and make it not disconnect other users from the radio.
2021-02-21 01:18:14 +00:00
Phil Taylor
df2c76588d
Change the way that packets are handled
...
Packets can now be cast to a union of structs that allows each part to be accessed individually. Still a work in progress!
2021-02-20 18:29:23 +00:00
Phil Taylor
61d06213ad
Create all UDP packets using a less error-prone method
2021-02-18 15:54:26 +00:00
Phil Taylor
87f41cc20a
Fix mixed endianness and change how password is encoded
2021-02-15 19:28:17 +00:00
Phil Taylor
192bcb0741
Fix packet loss counter
2021-02-14 16:14:56 +00:00
Phil Taylor
3de45a8f2c
Some code tidying and get rid of some Windows compile warnings
2021-02-14 15:30:34 +00:00
Phil Taylor
f62077eb28
Add packet loss and remove retransmission warnings
2021-02-14 10:40:47 +00:00
Phil Taylor
921bf2025b
Add connection speed detection and connection timeout
2021-02-14 07:53:55 +00:00
Phil Taylor
7acbd378aa
Update udphandler.h
2021-02-13 23:28:28 +00:00
Phil Taylor
d9b280cdcf
Complete rework of UdpHandler
...
Only tested on Windows so far but should be more in-line with the native implementation
2021-02-13 23:25:24 +00:00
Phil Taylor
941c586243
Yet more audio fixes
2021-02-13 11:04:26 +00:00
Phil Taylor
7dc580ce9c
Another TX audio fix
2021-02-12 23:56:02 +00:00
Phil Taylor
f83f40bee8
Test tx audio sending (again)
2021-02-12 20:42:56 +00:00
Phil Taylor
dc151f5268
Always use 16bit samples internally
2021-02-12 14:28:55 +00:00
Phil Taylor
20e681dc91
Merge remote-tracking branch 'origin/ui-enhance' into lan-alpha
2021-02-11 19:47:29 +00:00
Phil Taylor
b7f8ad1dee
Add initial TX audio support
2021-02-11 19:18:35 +00:00
roeland jansen
53fd008f3a
Added support for various spectrum sizes and rig capability support.
...
wfview has been tested with the following Icom radios over USB port:
IC-7300, IC-7610, IC-7851 (and IC-7850), and IC-9700. It likely works
fine with the IC-705 as well. At this time, the rig's CIV address must
be changed in the preference file to indicate the rig you are using, and
this must be in integer, not hex.
2021-02-10 17:32:56 +00:00
Phil Taylor
e6dee05ab1
Add support for codec/bitrate selection
2021-02-09 12:43:28 +00:00
Phil Taylor
228fb07eed
Add audio buffersize slider and ability to select samplerate and number of channels.
2021-02-08 16:53:26 +00:00