1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Use jassertquiet where possible

This commit is contained in:
reuk 2021-07-16 15:37:22 +01:00
parent 46e62b9efe
commit 3c68581567
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
17 changed files with 23 additions and 47 deletions

View file

@ -59,9 +59,7 @@ struct CameraDevice::Pimpl
{
// Access to video is required for camera to work,
// black images will be produced otherwise!
jassert (granted);
ignoreUnused (granted);
jassertquiet (granted);
}];
[AVCaptureDevice requestAccessForMediaType: AVMediaTypeAudio
@ -69,9 +67,7 @@ struct CameraDevice::Pimpl
{
// Access to audio is required for camera to work,
// silence will be produced otherwise!
jassert (granted);
ignoreUnused (granted);
jassertquiet (granted);
}];
captureSession.startSessionForDeviceWithId (cameraId);