Commit Graph

29 Commits

Author SHA1 Message Date
Lars Toenning
5982296856 refactor: Rename BlackSound to swift::sound 2024-11-11 14:49:01 +01:00
Lars Toenning
5266cc1909 refactor: Port to Qt 6 2024-11-09 08:15:44 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
7691e42a5b Fix doxygen warnings
Fixes #188
2023-04-05 18:57:11 +02:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Klaus Basan
f2e0e7b22e [AFV] Renamed to "setGainRatio" as the value does not represent a volume, but a multiplier 2020-06-12 18:42:53 +01:00
Klaus Basan
8848faadfa [AFV] Disabled the device output functions (not used)
Remark: might be used in AFV client, hence kept
2020-06-12 18:42:53 +01:00
Klaus Basan
091fa5f338 [Audio] Get/set audio device volume (this is the device's value, NOT the logical AFV value) 2020-01-07 19:57:23 +00:00
Klaus Basan
7b368076ba [AFV] Ref T730, make output buffer a pointer and avoid the buffer is connected multiple times with CAudioInputBuffer::frameAvailable
* discussion https://discordapp.com/channels/539048679160676382/623947987822837779/632921747171311616
* pass "whole" QAudioFormat to CAudioInputBuffer (not only channel count), maybe useful in future
* parent for buffer is required, removed default
2019-10-13 19:49:19 +02:00
Klaus Basan
745eb01000 [AFV] Ref T730, pass channel count to input 2019-10-13 16:47:41 +02:00
Klaus Basan
a9166d4e4c [AFV] Ref T730, improved volume handling
* for the asymmetric output volume -60/18dB, make sure that normalized 50 means 0dB
* slider is centered
* return value if value for volume was changed
2019-10-13 16:47:40 +02:00
Roland Rossgotterer
11ee2413b5 Doxygen 2019-10-11 19:40:42 +01:00
Roland Rossgotterer
4827c0e4ab [AFV] Request permission to access microphone on MacOS 2019-10-11 19:00:47 +01:00
Klaus Basan
ca90a225e1 Ref T730, removed unused timer code in input 2019-10-11 19:00:45 +01:00
Roland Rossgotterer
a2e3700739 Replace QAudioDeviceInfo with CAudioDeviceInfo where possible
QAudioDeviceInfo is a low level technical class, which shouldn't be used in higher level code. Remove it from all APIs
where possible and just create it in order to interface with QAudio
2019-10-11 19:00:31 +01:00
Klaus Basan
e560be65a6 Ref T730, stop input/output if object is destroyed 2019-10-11 19:00:14 +01:00
Roland Rossgotterer
9f497c1b60 [AFV] Handle stereo in- and output devices 2019-10-11 19:00:05 +01:00
Klaus Basan
fbc1efd7c7 Ref T730, input/output
* style
* fload -> double
* CLogMessage
2019-10-11 19:00:01 +01:00
Klaus Basan
2fed1e7e99 Ref T730, style 2019-10-11 18:59:59 +01:00
Klaus Basan
dc5cc4c7b0 Ref T730, changes for input sample buffer tests 2019-10-11 18:59:56 +01:00
Klaus Basan
7c765654c0 Ref T730, style
* avoid float, use double
* const correctness
* use fuzzyCompare for float/double
2019-10-11 18:59:55 +01:00
Klaus Basan
99edc9cb13 Ref T730, code style, adding namespaces 2019-10-11 18:59:45 +01:00
Roland Rossgotterer
cf6d60348e Decouple QAudioDevice buffer size from AFV 20 ms frame size
Different QAudioDevice plugins have different default buffer sizes. In 
order to cope with bigger buffer sizes than the expected 20 ms,
let the buffer be filled and push from it every 20 ms via timer.
2019-10-11 18:59:13 +01:00
Roland Rossgotterer
8d1eea25b1 Implement VolumeSampleProvider to gain in and output
fixup! Implement VolumeSampleProvider to gain in and output
2019-10-11 18:59:12 +01:00
Klaus Basan
34d1e8268c Ref T730, OPUS de/encoder namespace 2019-10-11 18:59:03 +01:00
Klaus Basan
384aa3ce19 Ref T730, namespace for BlackCore::Afv
* added namespace
* removed some *.pri files and added files to blackcore.pro
* added copyright etc.
2019-10-11 18:59:02 +01:00
Roland Rossgotterer
b5a2f2ad13 AFV initial commit 2019-10-11 18:58:47 +01:00