It's not possible to disable the camera shutter sound in QML's Camera component
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
camera-app |
Invalid
|
High
|
Unassigned | ||
qtubuntu-camera |
New
|
High
|
Ugo Riboni | ||
camera-app (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qtubuntu-camera (Ubuntu) |
Confirmed
|
Undecided
|
Ugo Riboni |
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-
m_audioPlayer-
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.
summary: |
- It's not possible to disable the shutter sound + It's not possible to disable the camera shutter sound in QML's Camera + component |
Changed in qtubuntu-camera (Ubuntu): | |
status: | New → Confirmed |
Changed in camera-app (Ubuntu): | |
status: | New → Confirmed |
Changed in camera-app: | |
status: | New → Confirmed |
Changed in camera-app: | |
importance: | Undecided → High |
Changed in camera-app: | |
status: | Confirmed → Invalid |
Changed in camera-app (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in qtubuntu-camera: | |
importance: | Undecided → High |
Changed in qtubuntu-camera (Ubuntu): | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in qtubuntu-camera: | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Taking ownership of the bug as I am also working on bug #1424147
Most probably we will move the playback of the sound out of the backend and expose a reusable ShutterSound QML component that apps can use if they want.