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:
parent
46e62b9efe
commit
3c68581567
17 changed files with 23 additions and 47 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue