qt6-bb10/qtmultimedia/util/macos_test_audio_config
BB10 Port 0d2227012e Add Qt6 module sources (svg, shadertools, declarative, httpserver, multimedia)
Consolidate the BB10 Qt module sources into this repo alongside qtbase so the
full Qt6 cross-build is reproducible from one place (previously separate,
unpushed sibling repos that could be lost). v6.8.3 + BB10 patches:
- qtshadertools: SPIRV-Cross langinfo guard for QNX.
- qtmultimedia: drop QNX audio backend block.
- qtsvg/qtdeclarative/qthttpserver: pristine (no source patches needed).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 01:14:15 +02:00
..
CMakeLists.txt Add Qt6 module sources (svg, shadertools, declarative, httpserver, multimedia) 2026-06-23 01:14:15 +02:00
README Add Qt6 module sources (svg, shadertools, declarative, httpserver, multimedia) 2026-06-23 01:14:15 +02:00
compile_and_run.sh Add Qt6 module sources (svg, shadertools, declarative, httpserver, multimedia) 2026-06-23 01:14:15 +02:00
main.cpp Add Qt6 module sources (svg, shadertools, declarative, httpserver, multimedia) 2026-06-23 01:14:15 +02:00

README

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