Shutter Sound QCameraImageCapture



  • Hello,
    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?

    Kind Regards,
    Mickle



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.