diff deploy/osx/Info.plist @ 2170:23be8dccb855

Add microphone permission request message for macOS. Thanks to Lucas Thompson for pointing out the problem & solution.
author Chris Cannam
date Fri, 04 Jan 2019 12:48:19 +0000
parents 41684d0b0663
children
line wrap: on
line diff
--- a/deploy/osx/Info.plist	Fri Jan 04 12:47:39 2019 +0000
+++ b/deploy/osx/Info.plist	Fri Jan 04 12:48:19 2019 +0000
@@ -15,6 +15,12 @@
 	<key>CFBundleShortVersionString</key>
 	<string>SV_VERSION</string>
 
+	<!-- Provide an explanatory string for microphone usage so
+	     that access is requested. NB this is localised in
+	     the *.lproj/InfoPlist.strings files -->
+	<key>NSMicrophoneUsageDescription</key>
+	<string>Sonic Visualiser needs to use the microphone for recording.</string>
+
 	<!-- enable HiDPI -->
 	<key>NSPrincipalClass</key>
 	<string>NSApplication</string>