Re: [hatari-devel] Enable microphone on macOS

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]



> Am 29.12.2022 um 23:33 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
> 
> Am Wed, 7 Dec 2022 22:10:00 +0100
> schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> 
>> 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.
> 
> Thanks, I've added the NSMicrophoneUsageDescription key now. I don't think
> we'll need the camera since it's very unlikely that someone adds emulation
> for a video grabber any time soon.
> 
> Thomas
> 

Just a minor note about your patch: I think the entry for LSMinimumSystemVersion is not necessary. At least on my system the minimum version is automatically added to Info.plist during the build process depending on the deployment target.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/