Commit graph

122 commits

Author SHA1 Message Date
Phil Taylor
aa7a57f89c Fix for crashing pty on mac 2021-05-31 17:55:01 +01:00
Phil Taylor
dda1f91afa Remove various compiler warnings and tidy up. 2021-05-30 12:07:51 +01:00
Phil Taylor
bbf1ecb6d8 add silence if audio has stopped 2021-05-30 11:36:13 +01:00
Phil Taylor
94ecd5bb56 fix for mac/linux compiler 2021-05-29 20:50:27 +01:00
Phil Taylor
5c0c22c6f4 Detect number of device channels and convert accordingly 2021-05-29 20:13:52 +01:00
Phil Taylor
a3cbeacf5e Lots more changes for rtaudio compatibility 2021-05-29 18:59:45 +01:00
Phil Taylor
344ab41930 Update audiohandler.cpp 2021-05-28 18:13:08 +01:00
Phil Taylor
941b5159d5 Use preferred sample rate rather than force 48000 2021-05-27 23:23:23 +01:00
Phil Taylor
2a61e7f849 Latency reporting causing issue? 2021-05-27 18:48:19 +01:00
Phil Taylor
8859f2d6ea Allow higher latency 2021-05-27 18:46:01 +01:00
Phil Taylor
1e917b3c3b udpserver fixes 2021-05-27 18:34:44 +01:00
Phil Taylor
5ffb27ae78 Fix for tx audio channels 2021-05-27 14:09:12 +01:00
Phil Taylor
d7afcf0309 Add tx audio 2021-05-27 13:54:52 +01:00
Phil Taylor
f567d5ab04 Use ring buffer with rtaudio to eliminate mutexes 2021-05-27 11:41:08 +01:00
Phil Taylor
65a3141b3c move ulaw to dedicated header 2021-05-24 18:00:38 +01:00
Phil Taylor
bf838076f5 Add mutex for audio buffer 2021-05-24 09:27:18 +01:00
Phil Taylor
45f5fdf344 First working rtaudio (output only) 2021-05-23 22:45:10 +01:00
Phil Taylor
a2219585af Non working test 2021-05-23 16:09:41 +01:00
Phil Taylor
5b64ec3c19 Merge branch 'lan-alpha' into rtaudio 2021-05-22 21:09:04 +01:00
Phil Taylor
96fd472ee4 reenable audio buffers 2021-05-22 15:17:26 +01:00
Phil Taylor
5721d3be79 Attempt to fix crash 2021-05-22 14:58:52 +01:00
Phil Taylor
a7f76ebbea Stop audiohandler re-enumerating devices on connect. 2021-05-22 10:43:57 +01:00
Phil Taylor
c344ecc928 Try increasing audio device buffer size 2021-05-22 09:24:19 +01:00
Phil Taylor
5d9b920e6c Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha 2021-05-22 00:32:19 +01:00
Phil Taylor
39832a2acb Fix for TX audio in udp server 2021-05-22 00:32:09 +01:00
Phil Taylor
ae0046707d Fix for stuttering audio on mac 2021-05-22 00:10:22 +01:00
Phil Taylor
3465417c1c Change audiohandler to use latency for tx audio 2021-05-21 10:51:25 +01:00
Phil Taylor
8021dd284b Allow receive only in udpHandler 2021-05-18 09:32:56 +01:00
Phil Taylor
8014aea653 Make audio input buffer a qMap 2021-05-17 16:19:36 +01:00
Phil Taylor
b4c10ce2a0 More rtaudio stuff 2021-05-16 21:16:59 +01:00
Phil Taylor
f7f6c8e565 Add --debug option to increase debugging for release builds 2021-05-15 18:53:16 +01:00
Phil Taylor
cd02914e21 Remove volume change debugging message 2021-05-14 09:53:59 +01:00
Phil Taylor
241f467ac0 Fix for Built-in audio on MacOS 2021-05-03 09:03:18 +01:00
Phil Taylor
4f187c6133 Set AFGain to 100% on LAN connections 2021-03-23 18:19:47 +00:00
Phil Taylor
9d6044797e Add local volume control for UDP connections. 2021-03-22 18:53:34 +00:00
Phil Taylor
c37da20b9a add volume control to audiohandler 2021-03-22 16:02:22 +00:00
Phil Taylor
bb8161c37b Small fixes to UDP server 2021-03-22 15:16:41 +00:00
Phil Taylor
f75c96e490 Add USB audio handling to UDP server 2021-03-22 09:10:03 +00:00
Phil Taylor
24d6357a30 Various changes to incoming audio handling to improve MacOS 2021-03-14 20:06:20 +00:00
Phil Taylor
274dd3a93d Small fix for audio packet handling 2021-03-14 08:44:30 +00:00
Phil Taylor
3d132411f7 Revert changing hex to Qt:hex as Qt:hex not exposed in earlier Qt namespace 2021-03-13 18:56:19 +00:00
Phil Taylor
6cd4ef96cd Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha 2021-03-13 09:53:47 +00:00
Phil Taylor
0404624029 Some code tidying in udpserver/audiohandler 2021-03-13 09:50:43 +00:00
Phil Taylor
0c52cde596 Fixes for MacOS 2021-03-13 09:23:06 +00:00
Phil Taylor
00e250dedc Clear buffer so resampled 8-bit audio works correctly. 2021-03-09 19:53:28 +00:00
Phil Taylor
d3a951e47c Final buffer size fix for Linux (hopefully) 2021-03-09 17:42:06 +00:00
Phil Taylor
83058da30b Another linux buffer fix 2021-03-09 17:38:13 +00:00
Phil Taylor
8f22d764e9 Fix buffersize in linux 2021-03-09 17:37:00 +00:00
Phil Taylor
71678332c9 Add audio resampler 2021-03-09 17:22:16 +00:00
Phil Taylor
370dcb7b77 remove redundant code from audiohandler 2021-03-03 09:49:49 +00:00