summaryrefslogtreecommitdiffstats
path: root/util/macos_test_audio_config/README
blob: 560d84100bf40c3810c0053d8fd2b05bb97a6e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
This utility tests stability of audio configuration on macOS, and prints it.
It reads audio config via AudioObjectGetPropertyData many times, checks if it changes, and dumps results.
It might be useful to check the configuration if specific audio devices are installed on your PC
and Qt multimedia handles them incorrectly or writes warnings to the console.
It's a good idea to attach a text file with the utility's output when creating a bug for audio on macOS.
In order to test an unstable config, set some sufficient testing time and just attach/detach a device.


Build:

mkdir build
cd build
cmake ..
make


Run:

./test_audio_config
Running without parameters performs some default testing. Use --help to see customization details.


Lazy build, run, and dump the result to file test_audio_config_res.txt:

./compile_and_run.sh