Commit graph

213 commits

Author SHA1 Message Date
Phil Taylor
654710715e Clear audio buffer if too many packets are delayed 2022-01-14 16:00:05 +00:00
Phil Taylor
1a674314a2 Add extra debugging 2022-01-13 19:54:43 +00:00
Phil Taylor
395c926ad7 Latency on server is wrong way round! 2022-01-13 19:34:34 +00:00
Phil Taylor
aef968e7fe Bit of tidying 2022-01-07 14:52:33 +00:00
Phil Taylor
8ee110e65c Revert "Tidying of audio handling"
This reverts commit dec31f9f62.
2022-01-07 12:28:43 +00:00
Phil Taylor
9380369e6f Revert "Hopefully fix opus issue in last commit?"
This reverts commit 228bf1cdb9.
2022-01-07 12:28:30 +00:00
Phil Taylor
228bf1cdb9 Hopefully fix opus issue in last commit? 2022-01-07 12:16:33 +00:00
Phil Taylor
dec31f9f62 Tidying of audio handling 2022-01-07 12:09:36 +00:00
Phil Taylor
4a00d5d728 Improve FEC operation with opus 2022-01-06 13:44:29 +00:00
Phil Taylor
aa8bfabc09 Attempt to enable FEC, not sure if it works though? 2022-01-05 15:27:46 +00:00
Phil Taylor
bcabf3a0c7 Remove some extra logging from audio 2021-11-18 12:20:36 +00:00
Phil Taylor
8dfa8486a5 Force PA to use 48K Sample Rate if default is 44.1K 2021-11-15 15:26:18 +00:00
Phil Taylor
ee84c9a3c3 Check number of samples in opus packet before attempting decode 2021-11-10 18:07:48 +00:00
Phil Taylor
25b980618a Catch exception in opus_decode 2021-11-10 17:44:33 +00:00
Phil Taylor
531f939190 Small changes to audio handler 2021-11-09 15:55:43 +00:00
Phil Taylor
d9876e4d6c Fix resample ratio for input and output (hopefully!) 2021-11-07 13:49:00 +00:00
Phil Taylor
0621b1d588 Create resampleRatio 2021-11-07 13:27:52 +00:00
Phil Taylor
0369124f84 Close PA stream after stopping it! 2021-11-07 12:16:25 +00:00
Phil Taylor
dd1980a683 Add portaudio support 2021-11-01 20:27:33 +00:00
Phil Taylor
c3cd53115c Use buffered audio for Linux (was just Mac only) 2021-11-01 11:17:25 +00:00
Phil Taylor
2d05ad6666 Adjust buffer size depending on latency setting 2021-11-01 09:18:01 +00:00
Phil Taylor
5b9c76ea7b Stuff audio buffer directly rather than signal/slot 2021-10-31 23:53:20 +00:00
Phil Taylor
eef4389b08 Don't block until audio buffer has space 2021-10-22 00:24:30 +01:00
Phil Taylor
43a346c24d Add a bit of logging for creating/destruction of opus 2021-08-15 11:36:08 +01:00
Phil Taylor
2bdef9745c Is this going to fix 8 bit audio? 2021-08-14 17:15:59 +01:00
Phil Taylor
ed44a20ae9 All audio codecs now work in both directions! 2021-08-14 16:27:31 +01:00
Phil Taylor
2e04da30fd Update audiohandler.cpp 2021-08-14 16:16:11 +01:00
Phil Taylor
74e45d70f9 more 8bit fixes! 2021-08-14 16:11:48 +01:00
Phil Taylor
95a4631177 ulaw encoding test 2021-08-14 16:04:50 +01:00
Phil Taylor
ee7aeb4778 Update audiohandler.cpp 2021-08-14 13:16:39 +01:00
Phil Taylor
e64fa59458 Update audiohandler.cpp 2021-08-14 13:05:18 +01:00
Phil Taylor
27a256eafd 8 bit encoding fix 2021-08-14 13:02:07 +01:00
Phil Taylor
631c051a03 Another issue with 8 bit audio 2021-08-14 12:25:50 +01:00
Phil Taylor
65a7d9f66f Try again to remove debugging! 2021-08-14 12:17:43 +01:00
Phil Taylor
a69637e288 Revert "Remove extra opus debugging"
This reverts commit f7be603af4.
2021-08-14 12:08:50 +01:00
Phil Taylor
f7be603af4 Remove extra opus debugging 2021-08-14 12:03:04 +01:00
Phil Taylor
37617ae86d Move opus init 2021-08-14 10:29:22 +01:00
Phil Taylor
254703dff5 Add some debugging for decoder 2021-08-14 10:11:58 +01:00
Phil Taylor
0f0351ffbf Use radio samplerate for opus 2021-08-14 10:06:17 +01:00
Phil Taylor
7244efb4dc Remove big/little endian conversion 2021-08-14 01:01:50 +01:00
Phil Taylor
1c40edd5e2 More Opus fixes 2021-08-14 00:56:16 +01:00
Phil Taylor
75ea1a8c3f Update audiohandler.cpp 2021-08-14 00:03:26 +01:00
Phil Taylor
44f38bf535 Update audiohandler.cpp 2021-08-14 00:01:45 +01:00
Phil Taylor
c02dda2a8c Update audiohandler.cpp 2021-08-13 23:35:42 +01:00
Phil Taylor
acfcf7c550 Update audiohandler.cpp 2021-08-13 20:52:18 +01:00
Phil Taylor
8cbb9a0c5c Update audiohandler.cpp 2021-08-13 20:41:42 +01:00
Phil Taylor
c45256dfcf Try to fix Opus 2-channel 2021-08-13 20:30:53 +01:00
Phil Taylor
e5ac7bb33f Merge branch 'master' into opus 2021-08-13 20:15:00 +01:00
Phil Taylor
b1c6cb6768 Fix broken 8bit audio 2021-08-01 18:34:32 +01:00
Phil Taylor
e732239515 Merge branch 'master' into opus 2021-07-29 16:18:59 +01:00