Logo
Explore Help
Sign In
railbird/react-native-vision-camera
10
0
Fork 0
You've already forked react-native-vision-camera
Code Issues Pull Requests Packages Projects Releases Wiki Activity
react-native-vision-camera/ios/Extensions/AVFrameRateRange+includes.swift

19 lines
382 B
Swift
Raw Normal View History

Add iOS
2021-02-19 16:28:05 +01:00
//
// AVFrameRateRange+includes.swift
// Cuvent
//
// Created by Marc Rousavy on 15.01.21.
fix: Fix AVAudioSession not allowing background music playback (#155) * Set category always if different * rename org * Fix video format sorting * fix format filtering * Update AVAudioSession+setCategoryIfNotSet.swift * upgrade all dependencies * Also run dependabot for JS codebase * Update MediaPage.tsx * Use typescript 4.2.4 * Also run TS in check-all * Downgrade typescript to 4.2.3 * f * recreate lockfiles * docs: Revert package.json changes * revert all package.json changes * Update Podfile.lock * bump all dependencies, pin typescript to 4.2.4 * Downgrade react-native-navigation for now * upgrade to later snapshot * Update yarn.lock * remove yeet
2021-06-01 13:07:57 +02:00
// Copyright © 2021 mrousavy. All rights reserved.
Add iOS
2021-02-19 16:28:05 +01:00
//
import AVFoundation
extension AVFrameRateRange {
Update AVFrameRateRange+includes.swift
2021-03-11 19:47:51 +01:00
/**
* Returns true if this [AVFrameRateRange] contains the given [fps]
*/
Add iOS
2021-02-19 16:28:05 +01:00
func includes(fps: Double) -> Bool {
return fps >= minFrameRate && fps <= maxFrameRate
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.2 Page: 112ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API