audio_capture -> audiocapture

to follow ENTRY naming standard
This commit is contained in:
Nevyn Bengtsson 2020-12-03 11:25:38 +01:00 committed by Bjorn
parent d4a5e06932
commit 8678414628
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ StringEntry lovrKeyboardKey[] = {
};
StringEntry lovrPermission[] = {
[AUDIO_CAPTURE_PERMISSION] = ENTRY("audio_capture"),
[AUDIO_CAPTURE_PERMISSION] = ENTRY("audiocapture"),
{ 0 }
};

View File

@ -173,7 +173,7 @@ function lovr.boot()
end
function lovr.permission(permission, granted)
if permission == "audio_capture" and granted then
if permission == "audiocapture" and granted then
lovr.audio.start("capture")
end
end