[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2017-05-15 Thread Daniel van Vugt
** Changed in: pulseaudio (Ubuntu)
   Status: Fix Committed => Fix Released

** Tags added: pulse-touch

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-12 Thread Pat McGowan
** Changed in: canonical-devices-system-image
   Status: Fix Committed => Fix Released

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-07 Thread Yuan-Chen Cheng
** Changed in: canonical-devices-system-image
   Status: Confirmed => Fix Committed

** Changed in: pulseaudio (Ubuntu)
   Status: Confirmed => Fix Committed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-07 Thread Rex Tsai
FYI

* Fix audio recording for mako/flo - 
https://requests.ci-train.ubuntu.com/#/ticket/1228
* Landing PPA 061 : “CI Train PPA Service Team” team - 
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-061
* 
https://launchpadlibrarian.net/252130876/pulseaudio_1%3A6.0-0ubuntu9.24~test3_1%3A6.0-0ubuntu9.24.diff.gz

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-07 Thread Rex Tsai
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-07 Thread Rex Tsai
The issue can be verified on OTA-10-rc[1],

1) The recording functions are broken on both built-in mic and wired
headset. (switching audio routing seems fine.)

I found a few error message from logcat, while testing with parec. 
I/audio_hw_primary( 5603): select_devices: enter - uc_id 4
I/audio_hw_primary( 5603): select_devices: VOICE_CALL is active
E/audio_hw_primary( 5603): start_input_stream: cannot open device 
'/dev/snd/pcmC0D0c': Invalid argument
E/audio_hw_primary( 5603): disable_snd_device: Invalid sound device 0
D/audio_hw_primary( 5603): start_input_stream: exit: status(-5)

2) The other minor issue is pulseaudio module-trust-store.

The pulseaudio trust-store rejected to access, but the client seems
ignore that and requesting input stream. (which caused the error in
finding 1)

I: [pulseaudio] client.c: Created 8 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client added 
for object /org/pulseaudio/core1/client8
D: [pulseaudio] protocol-native.c: Protocol version: remote 30, local 30
I: [pulseaudio] protocol-native.c: Got credentials: uid=32011 gid=32011 
success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: no
D: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: Must be 
enabled by module parameter
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for 
camera-app
I: [pulseaudio] module-trust-store.c: Client application name is: 
'qtubuntu-camera'
I: [pulseaudio] module-trust-store.c: Client apparmor profile is: 
'com.ubuntu.camera_camera_3.0.0.644'
D: [pulseaudio] module-trust-store.c: Checking permission to record for client 
8 (unknown) 
D: [pulseaudio] module-trust-store.c: Checking queue, size: 1, thread object: no
D: [pulseaudio] module-trust-store.c: Starting thread to ask about client 8 
(com.ubuntu.camera_camera_3.0.0.644)
I: [trust-store] module-trust-store.c: User needs to authorize the application..
D: Asking Ubuntu touch trust store for permission (app: 
com.ubuntu.camera_camera_3.0.0.644)
I: Request denied.
D: [pulseaudio] module-trust-store.c: Checking queue, size: 1, thread object: 
yes
D: [pulseaudio] module-trust-store.c: Letting client 8 
(com.ubuntu.camera_camera_3.0.0.644) know the result (rejected)
I: [pulseaudio] client.c: Freed 8 "qtubuntu-camera"
I: [pulseaudio] protocol-native.c: Connection died.

[1] OTA-10-rc
current build number: 25
device name: mako
channel: ubuntu-touch/rc/ubuntu
last update: 2016-04-07 13:16:14
version version: 25
version ubuntu: 20160401.1
version tag: OTA-10-rc
version device: 20160401.1
version custom: 20160401.1

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: pulseaudio (Ubuntu)
   Status: New => Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-06 Thread Łukasz Zemczak
** Tags added: lt-blocker

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-06 Thread Jim Hodapp
A note that Simon mentioned earlier today: "I suspect its the pulsedroid
module rework rextsai and BinLi did"

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1566896] Re: Camera app and messaging app on mako no mic in video mode

2016-04-06 Thread Pat McGowan
Is this related to recent changes needed on the android side?

** Also affects: canonical-devices-system-image
   Importance: Undecided
   Status: New

** Changed in: canonical-devices-system-image
   Importance: Undecided => Critical

** Changed in: canonical-devices-system-image
   Status: New => Confirmed

** Changed in: canonical-devices-system-image
Milestone: None => ww08-2016

** Changed in: canonical-devices-system-image
 Assignee: (unassigned) => John McAleely (john.mcaleely)

** Changed in: canonical-devices-system-image
 Assignee: John McAleely (john.mcaleely) => Yuan-Chen Cheng (ycheng-twn)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs