[hatari-devel] Enable microphone on macOS |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Enable microphone on macOS
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Wed, 7 Dec 2022 22:10:00 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1670447415; bh=B+CvKuvFhIzLKBgHg/jSDjVsNU/xxtL/fh/bGNHknX4=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=IU6+hTVUCgOkf8/BVAbuo0yIUANW0ozdy/q5qSOHTjlQYn4E1pMnX03QwJRKJuyxr nb9bgQZGO5BlPI/XAUsQbram31ZF8W8TjrbQKz2e2FKYAPiqEagBuPwvOnzd8jrJfH lzmB91ryqd8KYnIl6PW63Qe0eV8bFV0/AMfbPmtYFLA4aNwR7z6jvaeHag6xnSKVyy ne93CI/NYVNIJpy4MbDkDZQPN31nWfBMC6VX3/FTvR7jNbQydbVJ5J6dUnXSQnu3bJ bDL7ys4G1KDRo69EAO/zVYnTPxj7xeVC/nUjxC/FMrdU4r6WCNDUdaNyL2a0ooLG+C mxa3e/bVrftUg==
There was an issue regarding microphone input in Previous on macOS >= 10.14. I had to add an entry to the Info.plist (I also added an entry for the camera to be future-proof):
<key>NSPrincipalClass</key>
<string>NSApplication</string>
+ <key>NSMicrophoneUsageDescription</key>
+ <string>Previous needs access to your microphone for sound input.</string>
+ <key>NSCameraUsageDescription</key>
+ <string>Previous needs access to your camera for video input.</string>
</dict>
</plist>
I think this also needs to be added to Hatari to make the microphone work. Without this the sound input will fail silently.