Re: [hatari-devel] Enable microphone on macOS |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Enable microphone on macOS
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Thu, 29 Dec 2022 22:33:38 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1672353220; bh=gK/6+zOgyqj0NDhuwMOaf8RW2i7okqXhcObM6NLR7K8=; h=Date:From:To:Subject:From; b=LXMzTibzp4pT4EsShVI3TQgwh/PecMnzpPnP4SZ7L3t2CQKXcSJ7fr9HV7J11V7qC QaJm0G5waIAbMU/9jyK6zAy9Trgqzsjuo4ek7UnREp4MAVqOWToPRHxtO2j0ZSXFaW 8fhU9LgJjlLei+vLqcfhfYQ/m+xIiDEnVBDnLHEuVUr2lE/lJOpWUHyJJFSgAUyRCn CDpni2CvUiY9z8kXRm5cWGgeIxN1oOqklZuO2M0rU7gJmeDI/+vwGhgLQ479eo8Krv j/BT3x3ZhFMjbLizqb7eKA9pXvVLUqa8q6UiLJHjJwpkzbbtLnt2yq9gm48FDwhdkN ZF6V6mIlCjrqQ==
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