Phil Taylor
|
b4884e773a
|
Ensure buffer is at least 1/2 filled before starting
|
2022-01-14 20:23:59 +00:00 |
Phil Taylor
|
d9a611e118
|
Set latency for tx and rx
|
2022-01-14 19:40:25 +00:00 |
Phil Taylor
|
4a200006eb
|
Extra audio debugging
|
2022-01-14 18:57:20 +00:00 |
Phil Taylor
|
5a9342d9a9
|
Clear audio buffer if it's full
|
2022-01-14 16:21:32 +00:00 |
Phil Taylor
|
94a89dea33
|
Clear audio buffer if too many packets are delayed
|
2022-01-14 16:00:05 +00:00 |
Phil Taylor
|
184af7a582
|
Add extra debugging
|
2022-01-13 19:54:43 +00:00 |
Phil Taylor
|
d4868ae14c
|
Latency on server is wrong way round!
|
2022-01-13 19:34:34 +00:00 |
Phil Taylor
|
89ac99b3f9
|
Bit of tidying
|
2022-01-07 14:52:33 +00:00 |
Phil Taylor
|
6e44480d6b
|
Revert "Tidying of audio handling"
This reverts commit 5a6ff84892 .
|
2022-01-07 12:28:43 +00:00 |
Phil Taylor
|
3036108d6f
|
Revert "Hopefully fix opus issue in last commit?"
This reverts commit 7dd325c3ae .
|
2022-01-07 12:28:30 +00:00 |
Phil Taylor
|
7dd325c3ae
|
Hopefully fix opus issue in last commit?
|
2022-01-07 12:16:33 +00:00 |
Phil Taylor
|
5a6ff84892
|
Tidying of audio handling
|
2022-01-07 12:09:36 +00:00 |
Phil Taylor
|
6c29eb12a2
|
Improve FEC operation with opus
|
2022-01-06 13:44:29 +00:00 |
Phil Taylor
|
3035e5c712
|
Attempt to enable FEC, not sure if it works though?
|
2022-01-05 15:27:46 +00:00 |
Phil Taylor
|
1611058f77
|
Maybe fix audio crash?
|
2022-01-04 21:26:03 +00:00 |
Phil Taylor
|
fce3a3d6be
|
Try to fix server
|
2022-01-04 19:50:38 +00:00 |
Phil Taylor
|
cc2f2b2576
|
Remove some extra logging from audio
|
2021-11-18 12:20:36 +00:00 |
Phil Taylor
|
b5591e0867
|
Force PA to use 48K Sample Rate if default is 44.1K
|
2021-11-15 15:26:18 +00:00 |
Phil Taylor
|
c99439e759
|
Check number of samples in opus packet before attempting decode
|
2021-11-10 18:07:48 +00:00 |
Phil Taylor
|
81c83357f2
|
Catch exception in opus_decode
|
2021-11-10 17:44:33 +00:00 |
Phil Taylor
|
bb53558c92
|
Small changes to audio handler
|
2021-11-09 15:55:43 +00:00 |
Phil Taylor
|
6247611d85
|
Fix resample ratio for input and output (hopefully!)
|
2021-11-07 13:49:00 +00:00 |
Phil Taylor
|
6fbd9cec70
|
Create resampleRatio
|
2021-11-07 13:27:52 +00:00 |
Phil Taylor
|
1c0f33c721
|
Close PA stream after stopping it!
|
2021-11-07 12:16:25 +00:00 |
Phil Taylor
|
0c7bc17382
|
Add portaudio support
|
2021-11-01 20:27:33 +00:00 |
Phil Taylor
|
5b0a3620bd
|
Use buffered audio for Linux (was just Mac only)
|
2021-11-01 11:17:25 +00:00 |
Phil Taylor
|
ffdcada18c
|
Adjust buffer size depending on latency setting
|
2021-11-01 09:18:01 +00:00 |
Phil Taylor
|
4e5f315f08
|
Stuff audio buffer directly rather than signal/slot
|
2021-10-31 23:53:20 +00:00 |
Phil Taylor
|
bab77ebaba
|
Don't block until audio buffer has space
|
2021-10-22 00:24:30 +01:00 |
Phil Taylor
|
04562a6ca5
|
Add a bit of logging for creating/destruction of opus
|
2021-08-15 11:36:08 +01:00 |
Phil Taylor
|
dc299fc4f7
|
Is this going to fix 8 bit audio?
|
2021-08-14 17:15:59 +01:00 |
Phil Taylor
|
9d07bbc281
|
All audio codecs now work in both directions!
|
2021-08-14 16:27:31 +01:00 |
Phil Taylor
|
eb5dc0d095
|
Update audiohandler.cpp
|
2021-08-14 16:16:11 +01:00 |
Phil Taylor
|
9ae9e56399
|
more 8bit fixes!
|
2021-08-14 16:11:48 +01:00 |
Phil Taylor
|
2b8449d4d3
|
ulaw encoding test
|
2021-08-14 16:04:50 +01:00 |
Phil Taylor
|
02ba27b6b2
|
Update audiohandler.cpp
|
2021-08-14 13:16:39 +01:00 |
Phil Taylor
|
ac74f8ba5c
|
Update audiohandler.cpp
|
2021-08-14 13:05:18 +01:00 |
Phil Taylor
|
208ed9596c
|
8 bit encoding fix
|
2021-08-14 13:02:07 +01:00 |
Phil Taylor
|
218dc493e2
|
Another issue with 8 bit audio
|
2021-08-14 12:25:50 +01:00 |
Phil Taylor
|
f84172d5ae
|
Try again to remove debugging!
|
2021-08-14 12:17:43 +01:00 |
Phil Taylor
|
e6750be84c
|
Revert "Remove extra opus debugging"
This reverts commit da53f5371b .
|
2021-08-14 12:08:50 +01:00 |
Phil Taylor
|
da53f5371b
|
Remove extra opus debugging
|
2021-08-14 12:03:04 +01:00 |
Phil Taylor
|
2214ec7783
|
Move opus init
|
2021-08-14 10:29:22 +01:00 |
Phil Taylor
|
9ca727ac65
|
Add some debugging for decoder
|
2021-08-14 10:11:58 +01:00 |
Phil Taylor
|
d2098996ac
|
Use radio samplerate for opus
|
2021-08-14 10:06:17 +01:00 |
Phil Taylor
|
f5913dc099
|
Remove big/little endian conversion
|
2021-08-14 01:01:50 +01:00 |
Phil Taylor
|
d4023e8b36
|
More Opus fixes
|
2021-08-14 00:56:16 +01:00 |
Phil Taylor
|
e80d12e477
|
Update audiohandler.cpp
|
2021-08-14 00:03:26 +01:00 |
Phil Taylor
|
88ec30bb49
|
Update audiohandler.cpp
|
2021-08-14 00:01:45 +01:00 |
Phil Taylor
|
95b10ce465
|
Update audiohandler.cpp
|
2021-08-13 23:35:42 +01:00 |
Phil Taylor
|
aff0e6847c
|
Update audiohandler.cpp
|
2021-08-13 20:52:18 +01:00 |
Phil Taylor
|
28b2a716d1
|
Update audiohandler.cpp
|
2021-08-13 20:41:42 +01:00 |
Phil Taylor
|
b336d1836e
|
Try to fix Opus 2-channel
|
2021-08-13 20:30:53 +01:00 |
Phil Taylor
|
eb2f897a81
|
Merge branch 'master' into opus
|
2021-08-13 20:15:00 +01:00 |
Phil Taylor
|
eddc5d42ba
|
Fix broken 8bit audio
|
2021-08-01 18:34:32 +01:00 |
Phil Taylor
|
bc0d69ffb5
|
Merge branch 'master' into opus
|
2021-07-29 16:18:59 +01:00 |
Roeland Jansen
|
9588aa1eb9
|
Merge branch 'sequence'
|
2021-07-07 07:56:26 +02:00 |
Elliott Liggett
|
e6e8a115c3
|
Local af gain now has anti-log audio pot taper.
|
2021-07-06 12:02:09 -07:00 |
Phil Taylor
|
3d62fb6f08
|
Merge branch 'sequence' into audio-enhance
|
2021-07-06 10:09:34 +01:00 |
Phil Taylor
|
f4cdcccfec
|
Only start audio when stream is ready
|
2021-07-06 10:06:30 +01:00 |
Phil Taylor
|
280f7133d9
|
Only start audio when stream is ready
|
2021-07-06 10:05:55 +01:00 |
Elliott Liggett
|
f51f91afaf
|
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
|
0258ae8bf9
|
Remove extra debugging for Opus and add warning where opus isn't available
|
2021-06-23 20:25:45 +01:00 |
Phil Taylor
|
0329ea65b3
|
Update audiohandler.cpp
|
2021-06-19 14:09:27 +01:00 |
Phil Taylor
|
b9551edf36
|
More opus work
|
2021-06-19 00:11:25 +01:00 |
Phil Taylor
|
17f186354e
|
Mono opus working ok but stereo still crashing?
|
2021-06-18 23:47:22 +01:00 |
Phil Taylor
|
bbf981cc24
|
Trying to fix stereo opus stream
|
2021-06-17 09:55:09 +01:00 |
Phil Taylor
|
74382b29ee
|
Enable FEC for Opus codec
|
2021-06-16 23:44:59 +01:00 |
Phil Taylor
|
7c0b2a51b1
|
Another attempt for Opus audio
|
2021-06-16 19:14:21 +01:00 |
Phil Taylor
|
db1dbef168
|
Try converting to Big endian first
|
2021-06-16 19:00:56 +01:00 |
Phil Taylor
|
d3db0484af
|
Another opus fix
|
2021-06-16 10:38:54 +01:00 |
Phil Taylor
|
579d670a75
|
Another opus try
|
2021-06-16 10:35:45 +01:00 |
Phil Taylor
|
6a5e7692e6
|
Fixes for opus
|
2021-06-16 10:33:16 +01:00 |
Phil Taylor
|
869659ad54
|
Add opus encoding/decoding
|
2021-06-16 09:49:38 +01:00 |
Phil Taylor
|
87b26d4ad7
|
Check that we have at least 1 audio channel available.
|
2021-06-07 14:06:21 +01:00 |
Phil Taylor
|
5d29dd8ac9
|
Improve audio cleanup
|
2021-06-07 12:33:14 +01:00 |
Phil Taylor
|
caa61ee14d
|
Make only MacOS use buffered audio
|
2021-06-07 10:59:15 +01:00 |
Phil Taylor
|
49ac3cb020
|
Improve mac audio
|
2021-06-07 10:49:53 +01:00 |
Phil Taylor
|
67927b0d56
|
Fix to allow rtaudio to compile again
|
2021-06-06 17:56:48 +01:00 |
Phil Taylor
|
9a0ea32b88
|
Add latency check to TX audio
|
2021-06-05 08:42:00 +01:00 |
Phil Taylor
|
0abdbd3218
|
Fix incorrect use of latency setting
|
2021-06-05 08:36:24 +01:00 |
Phil Taylor
|
6218cf5f04
|
Fix for txaudio
|
2021-06-04 13:33:57 +01:00 |
Phil Taylor
|
24ce16b0b9
|
Add QtMultimedia as default audio
|
2021-06-04 08:24:26 +01:00 |
Phil Taylor
|
9de6d64dab
|
Hopefully fix hang on exit when trying to close audio thread.
|
2021-06-03 12:05:28 +01:00 |
Phil Taylor
|
2aefbe5dcd
|
Replace removed code!
|
2021-06-02 20:15:31 +01:00 |
Phil Taylor
|
84fd5e0631
|
Use heap based rtaudio for enumeration
|
2021-06-02 20:13:17 +01:00 |
Phil Taylor
|
0bc3d6adfe
|
Catch possible exception when closing non-existent stream
|
2021-06-02 19:18:44 +01:00 |
Phil Taylor
|
e4ed41f3d3
|
Fix mac audio
|
2021-06-02 19:16:46 +01:00 |
Phil Taylor
|
2d92dbbb8f
|
Fix mac crash on closing audio
|
2021-06-02 18:53:30 +01:00 |
Phil Taylor
|
006b2904cb
|
Make sure audio is deleted in destructor
|
2021-06-02 18:36:33 +01:00 |
Phil Taylor
|
a04044e75b
|
Force specific rtaudio API depending on platform.
|
2021-06-02 18:35:04 +01:00 |
Phil Taylor
|
b850eb078b
|
Linux now uses librtuadio-dev where available
|
2021-06-02 18:16:38 +01:00 |
Phil Taylor
|
462551838d
|
Tell rtaudio not to hog device
|
2021-06-02 12:48:35 +01:00 |
Phil Taylor
|
69a34f1c00
|
Update audiohandler.cpp
|
2021-06-02 12:35:10 +01:00 |
Phil Taylor
|
f54898045a
|
Select chunksize based on native sample rate
|
2021-06-02 12:21:06 +01:00 |
Phil Taylor
|
f2a36d4cbb
|
Force 48K sample rate when 44100 is detected.
|
2021-06-02 12:08:48 +01:00 |
Phil Taylor
|
6bfb294502
|
Let buffer keep filling.
|
2021-06-01 20:19:06 +01:00 |
Phil Taylor
|
35dd0c9c62
|
Fix for crashing pty on mac
|
2021-05-31 17:55:01 +01:00 |
Phil Taylor
|
6a103d051f
|
Remove various compiler warnings and tidy up.
|
2021-05-30 12:07:51 +01:00 |
Phil Taylor
|
05fc1677d4
|
add silence if audio has stopped
|
2021-05-30 11:36:13 +01:00 |
Phil Taylor
|
d2375a9065
|
fix for mac/linux compiler
|
2021-05-29 20:50:27 +01:00 |
Phil Taylor
|
fba496e1d4
|
Detect number of device channels and convert accordingly
|
2021-05-29 20:13:52 +01:00 |
Phil Taylor
|
923adbaa30
|
Lots more changes for rtaudio compatibility
|
2021-05-29 18:59:45 +01:00 |
Phil Taylor
|
3db187e0a5
|
Update audiohandler.cpp
|
2021-05-28 18:13:08 +01:00 |
Phil Taylor
|
d072fdc4f3
|
Use preferred sample rate rather than force 48000
|
2021-05-27 23:23:23 +01:00 |
Phil Taylor
|
5e530b2eba
|
Latency reporting causing issue?
|
2021-05-27 18:48:19 +01:00 |
Phil Taylor
|
3863c5fff9
|
Allow higher latency
|
2021-05-27 18:46:01 +01:00 |
Phil Taylor
|
2bad85bb35
|
udpserver fixes
|
2021-05-27 18:34:44 +01:00 |
Phil Taylor
|
85762365ba
|
Fix for tx audio channels
|
2021-05-27 14:09:12 +01:00 |
Phil Taylor
|
0c7892bd82
|
Add tx audio
|
2021-05-27 13:54:52 +01:00 |
Phil Taylor
|
596f2739b9
|
Use ring buffer with rtaudio to eliminate mutexes
|
2021-05-27 11:41:08 +01:00 |
Phil Taylor
|
2cd316bee6
|
move ulaw to dedicated header
|
2021-05-24 18:00:38 +01:00 |
Phil Taylor
|
1393571de6
|
Add mutex for audio buffer
|
2021-05-24 09:27:18 +01:00 |
Phil Taylor
|
9c29732376
|
First working rtaudio (output only)
|
2021-05-23 22:45:10 +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
|
ed566deb0e
|
reenable audio buffers
|
2021-05-22 15:17:26 +01:00 |
Phil Taylor
|
cbad7e55fc
|
Attempt to fix crash
|
2021-05-22 14:58:52 +01:00 |
Phil Taylor
|
0bbb9017c9
|
Stop audiohandler re-enumerating devices on connect.
|
2021-05-22 10:43:57 +01:00 |
Phil Taylor
|
99e71dd0e2
|
Try increasing audio device buffer size
|
2021-05-22 09:24:19 +01:00 |
Phil Taylor
|
906f21855e
|
Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha
|
2021-05-22 00:32:19 +01:00 |
Phil Taylor
|
daf9d7738d
|
Fix for TX audio in udp server
|
2021-05-22 00:32:09 +01:00 |
Phil Taylor
|
adebb076c0
|
Fix for stuttering audio on mac
|
2021-05-22 00:10:22 +01:00 |
Phil Taylor
|
61ccda9fac
|
Change audiohandler to use latency for tx audio
|
2021-05-21 10:51:25 +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
|
57bffd73a2
|
More rtaudio stuff
|
2021-05-16 21:16:59 +01:00 |
Phil Taylor
|
8f135b8ddd
|
Add --debug option to increase debugging for release builds
|
2021-05-15 18:53:16 +01:00 |
Phil Taylor
|
94202d0c8d
|
Remove volume change debugging message
|
2021-05-14 09:53:59 +01:00 |
Phil Taylor
|
98503a5a66
|
Fix for Built-in audio on MacOS
|
2021-05-03 09:03:18 +01:00 |
Phil Taylor
|
6bba4eb6dc
|
Set AFGain to 100% on LAN connections
|
2021-03-23 18:19:47 +00:00 |
Phil Taylor
|
c2091e9c4e
|
Add local volume control for UDP connections.
|
2021-03-22 18:53:34 +00:00 |
Phil Taylor
|
54daaccdfa
|
add volume control to audiohandler
|
2021-03-22 16:02:22 +00:00 |
Phil Taylor
|
7cb9ae9195
|
Small fixes to UDP server
|
2021-03-22 15:16:41 +00:00 |
Phil Taylor
|
8583973ca8
|
Add USB audio handling to UDP server
|
2021-03-22 09:10:03 +00:00 |
Phil Taylor
|
96949f5904
|
Various changes to incoming audio handling to improve MacOS
|
2021-03-14 20:06:20 +00:00 |
Phil Taylor
|
03de9b0dfd
|
Small fix for audio packet handling
|
2021-03-14 08:44:30 +00:00 |
Phil Taylor
|
3187651098
|
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
|
607b3c4333
|
Merge branch 'lan-alpha' of https://gitlab.com/eliggett/wfview into lan-alpha
|
2021-03-13 09:53:47 +00:00 |
Phil Taylor
|
40d0c99964
|
Some code tidying in udpserver/audiohandler
|
2021-03-13 09:50:43 +00:00 |
Phil Taylor
|
18fe0cba2e
|
Fixes for MacOS
|
2021-03-13 09:23:06 +00:00 |
Phil Taylor
|
c610edd371
|
Clear buffer so resampled 8-bit audio works correctly.
|
2021-03-09 19:53:28 +00:00 |
Phil Taylor
|
7cdc432f48
|
Final buffer size fix for Linux (hopefully)
|
2021-03-09 17:42:06 +00:00 |
Phil Taylor
|
84db35f9f7
|
Another linux buffer fix
|
2021-03-09 17:38:13 +00:00 |
Phil Taylor
|
71d271957d
|
Fix buffersize in linux
|
2021-03-09 17:37:00 +00:00 |
Phil Taylor
|
a0f4a4deeb
|
Add audio resampler
|
2021-03-09 17:22:16 +00:00 |
Phil Taylor
|
449b017527
|
remove redundant code from audiohandler
|
2021-03-03 09:49:49 +00:00 |
Phil Taylor
|
90584c5db4
|
Update audiohandler.cpp
|
2021-03-02 15:41:48 +00:00 |
Phil Taylor
|
e5f1ac31a8
|
Identify if we have missing audio seq numbers.
|
2021-03-02 14:35:33 +00:00 |
Phil Taylor
|
1edcd6cc59
|
Update audiohandler.cpp
|
2021-03-02 12:06:46 +00:00 |