1
1
mirror of https://github.com/bitgapp/eqMac.git synced 2024-11-22 22:32:17 +03:00

moved Sources changes from Pro

This commit is contained in:
Nodeful 2021-09-29 00:16:41 +03:00
parent ec4b7d1739
commit 95622d1be4
2 changed files with 3 additions and 0 deletions

View File

@ -35,10 +35,12 @@ class Sources {
init () {
Console.log("Creating Sources")
initializeSystem()
}
static func getInputPermission (_ callback: @escaping () -> Void) {
if !InputSource.hasPermission {
UI.show()
let title = "Microphone Usage Permission"
Alert.confirm(
title: title,

View File

@ -10,6 +10,7 @@ import Foundation
import AMCoreAudio
import CoreFoundation
import Version
import EmitterKit
class Driver {
static func check (_ completion: @escaping() -> Void) {