Shutter Sound QCameraImageCapture
I am writing a small app for iOS and Android, which should capture images every x seconds. I am using the standard code:
camera->searchAndLock(); imageCapture->capture(); camera->unlock();
Of course, every time the app takes an image, it makes the default iOS/Android shutter sound. I want to use a custom shutter sound. Is this possible?
I don't think you can change the sound. The only option could be a horrible kludge: turn the application's / device's volume to zero during the capture (and hope that the camera back end obeys that) -- that should be possible (I have no idea how, in Qt, though), then when you have made the capture, turn volume back up and play your own sound. At least there will be a delay for the shutter sound, which may or may not be an issue.