Post

Replies

Boosts

Views

Activity

Reply to Bug when using multiple AVAudioUnitSampler instances
Ok, it turned out that is was not a bug in AVAudioUnitSampler - running the same code on macOS gave some additional hints... unable to obtain configuration from file:///Library/Preferences/com.apple.ViewBridge.plist due to Error Domain=NSCocoaErrorDomain Code=256 "(null)" UserInfo={NSFilePath=/Library/Preferences/com.apple.ViewBridge.plist, NSUnderlyingError=0x600003a9e610 {Error Domain=NSPOSIXErrorDomain Code=24 "Too many open files"}} ...with the second sampler, the app exceeded the soft limit for currently opened files per process (=256). The crashes afterwards were caused by failing file handles in other parts of the app. A workaround can be found at https://stackoverflow.com/a/62074374/1993349 ... done.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’22
Reply to UITouch after SwiftUI Drag
I ran into the same issue. Did you ever find a solution?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Bug when using multiple AVAudioUnitSampler instances
Ok, it turned out that is was not a bug in AVAudioUnitSampler - running the same code on macOS gave some additional hints... unable to obtain configuration from file:///Library/Preferences/com.apple.ViewBridge.plist due to Error Domain=NSCocoaErrorDomain Code=256 "(null)" UserInfo={NSFilePath=/Library/Preferences/com.apple.ViewBridge.plist, NSUnderlyingError=0x600003a9e610 {Error Domain=NSPOSIXErrorDomain Code=24 "Too many open files"}} ...with the second sampler, the app exceeded the soft limit for currently opened files per process (=256). The crashes afterwards were caused by failing file handles in other parts of the app. A workaround can be found at https://stackoverflow.com/a/62074374/1993349 ... done.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Reply to Bug when using multiple AVAudioUnitSampler instances
Addendum: Loading samples from NSDocumentDirectory instead of the bundle results in the same behavior.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22