touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #20891
[Bug 1292003] Re: It's not possible to disable the camera shutter sound in QML's Camera component
** Changed in: qtubuntu-camera (Ubuntu)
Assignee: (unassigned) => Jim Hodapp (jhodapp)
** Changed in: qtubuntu-camera
Assignee: (unassigned) => Jim Hodapp (jhodapp)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to camera-app in Ubuntu.
https://bugs.launchpad.net/bugs/1292003
Title:
It's not possible to disable the camera shutter sound in QML's Camera
component
Status in Camera App:
Invalid
Status in QT Ubuntu Camera:
New
Status in “camera-app” package in Ubuntu:
Invalid
Status in “qtubuntu-camera” package in Ubuntu:
Confirmed
Bug description:
The fact that the shutter sound when taking a camera picture is in the
abstraction layer, forces that sound to be played every time a shot is
taken with the QML Camera component.
This means app developers cannot disable or override the shutter sound
in their apps. One use case for this I encountered was while writing a
QR code application that continuously takes shots and analyzes the
image to scan a QR code. The fact that the shutter sound is played
continuously prevents me from being able to use the QML camera
component.
<rsalveti> dpm: the sound file itself is available in the android system partition, and used by the app, let me find the code
<rsalveti> qtubuntu-camera-0.3.3+13.10.20130919.2/src/aalimagecapturecontrol.cpp
m_audioPlayer->setMedia(QUrl::fromLocalFile("/system/media/audio/ui/camera_click.ogg"));
So after a conversation with rsalveti and jhodapp it seems that the
shutter sound is only required by the camera app, but for some reason
rather than put it in the camera app itself, it was added to the
abstraction layer. Their suggestion was to file a bug to remove the
sound from the abstraction layer and put it in the app, so that app
developers can use the upstream QML component and be able to decide
whether to play a sound and which one.
To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1292003/+subscriptions