← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1292003] [NEW] It's not possible to disable the camera shutter sound in QML's Camera component

 

Public bug reported:

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.

** Affects: camera-app
     Importance: Undecided
         Status: Confirmed

** Affects: camera-app (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: qtubuntu-camera (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Also affects: camera-app
   Importance: Undecided
       Status: New

** Summary changed:

- It's not possible to disable the shutter sound
+ It's not possible to disable the camera shutter sound in QML's Camera component

** Also affects: camera-app (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtubuntu-camera 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:
  Confirmed
Status in “camera-app” package in Ubuntu:
  Confirmed
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


Follow ups

References