Commit graph

203 commits

Author SHA1 Message Date
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
Roeland Jansen
3311b4c4ee Merge branch 'sequence' 2021-07-07 07:56:26 +02:00
Elliott Liggett
2ee5fed735 Local af gain now has anti-log audio pot taper. 2021-07-06 12:02:09 -07:00
Phil Taylor
6cc037de52 Merge branch 'sequence' into audio-enhance 2021-07-06 10:09:34 +01:00
Phil Taylor
c3a5c39938 Only start audio when stream is ready 2021-07-06 10:06:30 +01:00
Phil Taylor
ce90ffdf9f Only start audio when stream is ready 2021-07-06 10:05:55 +01:00
Elliott Liggett
50d0263589 Applying setup.volume within audio handler if the audio handled is an
output. Added this to the init function.
2021-07-05 23:24:35 -07:00
Phil Taylor
dfd4dcbffc Remove extra debugging for Opus and add warning where opus isn't available 2021-06-23 20:25:45 +01:00
Phil Taylor
eca60733f5 Update audiohandler.cpp 2021-06-19 14:09:27 +01:00
Phil Taylor
0f43b278f8 More opus work 2021-06-19 00:11:25 +01:00
Phil Taylor
d866b2c074 Mono opus working ok but stereo still crashing? 2021-06-18 23:47:22 +01:00