Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6208edb6 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudio: Adjust audio set configurations

This changes the "Recording" scnenario to "Live" for the
consistency with the context type mapping in the configuration
provider implementation. This also better represents the actual
target use case which will be bidirectional and not just for the
microphone.

Bug: 233976574
Test: manual testing
Change-Id: I84391473d6220261eb2ecf50f10fe60866c8fb52
parent 300ebb7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@
            ]
        },
        {
            "name": "Recording",
            "name": "Live",
            "configurations": [
                "VND_SingleDev_TwoChanStereoSrc_48khz_100octs_Server_Preferred_1",
                "VND_SingleDev_TwoChanStereoSrc_48khz_100octs_R11_L40_1"
+4 −2
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ struct AudioSetConfigurationProviderJson {
            {"Media", types::LeAudioContextType::MEDIA},
            {"Conversational", types::LeAudioContextType::RINGTONE},
            {"Conversational", types::LeAudioContextType::CONVERSATIONAL},
            {"Recording", types::LeAudioContextType::LIVE},
            {"Live", types::LeAudioContextType::LIVE},
            {"Game", types::LeAudioContextType::GAME},
            {"VoiceAssistants", types::LeAudioContextType::VOICEASSISTANTS},
        };
@@ -109,6 +109,8 @@ struct AudioSetConfigurationProviderJson {
        FALLTHROUGH_INTENDED;
      case types::LeAudioContextType::UNSPECIFIED:
        FALLTHROUGH_INTENDED;
      case types::LeAudioContextType::SOUNDEFFECTS:
        FALLTHROUGH_INTENDED;
      case types::LeAudioContextType::MEDIA:
        return "Media";
      case types::LeAudioContextType::RINGTONE:
@@ -116,7 +118,7 @@ struct AudioSetConfigurationProviderJson {
      case types::LeAudioContextType::CONVERSATIONAL:
        return "Conversational";
      case types::LeAudioContextType::LIVE:
        return "Recording";
        return "Live";
      case types::LeAudioContextType::GAME:
        return "Game";
      case types::LeAudioContextType::VOICEASSISTANTS: