Elliott Liggett
1b6cff85f4
Removed audio volume logging.
2022-09-14 18:15:20 -07:00
Elliott Liggett
4ea7ec8090
Fixed up signals and slots related to audio levels, removed extra junk
...
code, added preliminary RMS and Peak audio availablility.
2022-08-24 15:02:00 -07:00
Elliott Liggett
9fb74ed6e1
Audio metering initial. Very messy but you can select TxRxAudio as the
...
meter type and wfview will show you TX or RX audio depending upon if you
are transmitting or not. You can also select only TxAudio or RxAudio.
This is nice for looking at Tx audio levels prior to transmitting, for
example, or metering the radio's "monitor" audio while transmitting.
2022-08-23 22:24:05 -07:00
Phil Taylor
ac2c104209
Re-order audio handler destructors
2022-07-05 10:37:10 +01:00
Phil Taylor
0b74407448
Set default audio device if not found
2022-05-13 09:55:47 +01:00
Phil Taylor
44f6ec2740
Add back support for portaudo and rtaudio APIs
2022-05-12 01:46:20 +01:00
Phil Taylor
00f15a059e
Add some more audio status
2022-05-10 23:55:18 +01:00
Phil Taylor
30ca8aa44a
Try to force 16bit int instead of 8bit uint
2022-05-09 18:51:26 +01:00
Phil Taylor
fba9c6f207
Try to force minimum of 48K sample rate for native audio
2022-05-09 18:47:12 +01:00
Phil Taylor
8d924b6fda
Configure buffer for input audio
2022-05-09 10:33:30 +01:00
Phil Taylor
bddf283e7a
Always use "preferred" format where possible
2022-05-09 00:29:07 +01:00
Phil Taylor
135640df44
Remove parent from classes that are moved to a thread
2022-05-08 19:35:47 +01:00
Phil Taylor
ac677db7ac
Change class constructors to include parent
2022-05-08 19:31:05 +01:00
Phil Taylor
b8838e2468
some improvements to audio
2022-05-08 18:44:20 +01:00
Phil Taylor
8e38a8efb2
Create function to convert Icom format to QAudioFormat
2022-05-08 11:46:33 +01:00
Phil Taylor
71f88cdfed
Skip unneeded float conversion for Opus
2022-05-08 10:04:36 +01:00
Phil Taylor
3068b0f5cc
Update audiohandler.cpp
2022-05-07 10:54:20 +01:00
Phil Taylor
05c3433bcd
More testing
2022-05-07 10:51:02 +01:00
Phil Taylor
1e51e36c9d
Backup out of last change
2022-05-07 10:43:28 +01:00
Phil Taylor
0d529b4a1b
Update audiohandler.cpp
2022-05-06 23:27:25 +01:00
Phil Taylor
9118d8f4dc
Update audiohandler.cpp
2022-05-06 23:12:29 +01:00
Phil Taylor
78f16b7cff
Add experimental audio converter
2022-05-06 23:10:46 +01:00
Phil Taylor
85ba0fb569
When using Float, force 32bit as Mac doesn't like it otherwise
2022-05-04 22:29:05 +01:00
Phil Taylor
f42fbc2e54
Try using float for all audio. Not tested on Linux/Mac
2022-05-04 15:43:34 +01:00
Phil Taylor
105d1782ed
Remove unnecessary code
2022-05-03 11:21:08 +01:00
Phil Taylor
2b04b84eb1
Fix for uLaw encoding
2022-05-03 10:37:41 +01:00
Phil Taylor
8d75d01e2c
Set Opus complexity to 7
2022-05-02 17:15:41 +01:00
Phil Taylor
95cace832b
Try a reduced complexity on Opus encoder
2022-05-02 16:41:28 +01:00
Phil Taylor
76e52c42db
Add parens
2022-05-02 16:01:54 +01:00
Phil Taylor
fb99a57272
Tidy some connections
2022-05-02 15:58:41 +01:00
Phil Taylor
43f423f1ad
Tidy getnextaudiochunk()
2022-05-02 13:53:49 +01:00
Phil Taylor
92288aa768
Increase late audio timeout to 100ms
2022-05-02 13:08:42 +01:00
Phil Taylor
09ea7a2c26
Try readyRead instead of notify
2022-05-02 13:03:27 +01:00
Phil Taylor
7bf2f54255
Use notify instead of timer for audio input
2022-05-02 12:55:58 +01:00
Phil Taylor
fb0d662b40
Add debugging back after revert.
2022-05-02 11:56:40 +01:00
Phil Taylor
94bb78af50
Revert "Add some more debugging when audio is delayed"
...
This reverts commit bb6c615b4c
.
2022-05-02 11:52:23 +01:00
Phil Taylor
ab36165d9d
Revert "Update audiohandler.cpp"
...
This reverts commit 7130f71335
.
2022-05-02 11:52:09 +01:00
Phil Taylor
8f3a8d38d4
Revert "Update audiohandler.cpp"
...
This reverts commit 60824c2055
.
2022-05-02 11:51:36 +01:00
Phil Taylor
1ba9713408
Revert "Reduce audio polling time"
...
This reverts commit 26ea3bc3dc
.
2022-05-02 11:51:12 +01:00
Phil Taylor
26ea3bc3dc
Reduce audio polling time
2022-05-02 11:47:44 +01:00
Phil Taylor
60824c2055
Update audiohandler.cpp
2022-05-02 11:32:28 +01:00
Phil Taylor
7130f71335
Update audiohandler.cpp
2022-05-02 11:29:34 +01:00
Phil Taylor
bb6c615b4c
Add some more debugging when audio is delayed
2022-05-02 11:22:05 +01:00
Phil Taylor
2525641e76
Update audiohandler.cpp
2022-04-28 12:32:40 +01:00
Phil Taylor
a9c21871b2
Update audiohandler.cpp
2022-04-28 10:05:51 +01:00
Phil Taylor
382f0951e5
Try to support all possible native audio formats
2022-04-28 10:02:51 +01:00
Phil Taylor
86502a5c3a
Various compatibility improvements
2022-04-20 13:35:23 +01:00
Phil Taylor
e834396387
Force 16 bit samples if 24 is requested.
2022-04-11 23:24:56 +01:00
Phil Taylor
55fdf52436
Update audiohandler.cpp
2022-04-11 12:13:48 +01:00
Phil Taylor
7542cc3f56
Update audiohandler.cpp
2022-04-11 12:11:10 +01:00