You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Add project settings for AVAudioSessionCategory on iOS
Co-authored-by: Georg Wacker <contact@georgwacker.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
e22335ec72
commit
739d27ae40
@@ -1095,6 +1095,10 @@ ProjectSettings::ProjectSettings() {
|
||||
|
||||
GLOBAL_DEF_RST("audio/general/text_to_speech", false);
|
||||
|
||||
GLOBAL_DEF("audio/general/ios/session_category", 0);
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("audio/general/ios/session_category", PropertyInfo(Variant::INT, "audio/general/ios/session_category", PROPERTY_HINT_ENUM, "Ambient,Multi Route,Play and Record,Playback,Record,Solo Ambient"));
|
||||
GLOBAL_DEF("audio/general/ios/mix_with_others", false);
|
||||
|
||||
PoolStringArray extensions = PoolStringArray();
|
||||
extensions.push_back("gd");
|
||||
if (Engine::get_singleton()->has_singleton("GodotSharp")) {
|
||||
|
||||
Reference in New Issue
Block a user