In 1:6.0-0ubuntu9.12, the default audio source is hardcoded to AUDIO_SOURCE_MIC.
546 /* Setting audio source to MIC by default */
547 pa_snprintf(audio_source, sizeof(audio_source), "%s=%u",
AUDIO_PARAMETER_STREAM_INPUT_SOURCE, AUDIO_SOURCE_MIC);
548 u->stream->common.set_parameters(&u->stream->common, audio_source);
549 pa_log_debug("Setting audio source to AUDIO_SOURCE_MIC by default");
In the newer 1:6.0-0ubuntu9.23 which introduced the regression on mako,
it use conversion_table_default_audio_source table to translate
AUDIO_DEVICE_IN_BUILTIN_MIC.
src/modules/droid/droid-util.c
207: for (unsigned int i = 0; i <
sizeof(conversion_table_default_audio_source) / (sizeof(uint32_t) * 2); i++) {
But AUDIO_DEVICE_IN_BUILTIN_MIC is missing in droid-util-44.h.[1] Thanks
Simon Fels to find out the fix.
[1] https://paste.ubuntu.com/15669064/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566896
Title:
Camera app and messaging app on mako no mic in video mode
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1566896/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs