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 Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1566896

Title:
  Camera app and messaging app on mako no mic in video mode

Status in Canonical System Image:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  STEPS:
  1. Flash OTA-10-RC image from rc channel to mako
  2. Open the camera app
  3. Accept access to camera
  4. Switch to video
  5. Tap record
  6. Accept Mic access
  7. Record something while talking into the mic for 10 seconds
  8. Playback the video

  EXPECTED:
  Audio to come from the speaker

  ACTUAL:
  I see the video footage but no audio.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1566896/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to