Skip to content

Commit

Permalink
version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
afsaredrisy committed Oct 8, 2019
1 parent 67e23cc commit 23eee91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/MetalVideoRecorder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ class MetalVideoRecorder: NSObject{

self.audioConnection = self.audioOutput.connection(with: AVMediaType.audio)
self.session.commitConfiguration()
if self.audioOutput == nil{
/*if self.audioOutput == nil{
print("Audio device Not Available")

}
else {
//print("Audio output source intiated successfully")
}

*/
self.startRecording()
}
}
Expand Down
2 changes: 1 addition & 1 deletion Source/RecordableMetalView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import MetalKit
fatalError("MetalView Doest not support simulator")
}
let currentTexture: MTLTexture
#if targetEnvironment(simulator)
#if (arch(x86_64) || arch(i386)) && os(iOS)
// your simulator code
fatalError("MetalView Doest not support simulator")
#else
Expand Down

0 comments on commit 23eee91

Please sign in to comment.