Priority: P2: Important
Affects Version/s: 5.9.5
Fix Version/s: 5.13
Environment:Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
ii qtmultimedia5-dev:amd64 5.9.5-0ubuntu1 amd64 APIs for multimedia functionality - development files
ii qtmultimedia5-examples:amd64 5.9.5-0ubuntu1 amd64 Examples for Qt 5 Multimedia module
I tried audiooutput from qtmultimedia5 examples.
I just made one modification.
In audiooutput.cpp file, I replaced following line:
After successful compilation, program received SIGABRT and write following lines:
Assertion 's' failed at pulse/stream.c:2110, function pa_stream_set_state_callback(). Aborting.
Program works as expected with channel count values from 1 to 6.
Program fails with channel count values from 7 to 16.
By looking here, https://github.com/pulseaudio/pulseaudio/blob/master/src/pulse/stream.c, it seems Qt code called pa_stream_set_state_callback function provided by pulseaudio with a null pointer.