Activate barcode scanner sound

Hello everyone,

I have an app that opens a form, the camera is activated to scan a barcode.

Previously when the barcode scanner function was used, a sound similar to a barcode reader gun was played, now that sound does not sound on my devices, is there any way to activate it?