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

Commit b9017af2 authored by Eric Laurent's avatar Eric Laurent
Browse files

Force fixed volume for TTS stream

Always play Transmitted Through Speaker stream at max volume instead
of tracking media stream volume.

Bug: 23729461.
Change-Id: I61021f59617bb851a4cd7da80924e587029e96a3
parent 0f050315
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ const VolumeCurvePoint *Gains::sVolumeProfiles[AUDIO_STREAM_CNT]
    { // AUDIO_STREAM_TTS
      // "Transmitted Through Speaker": always silent except on DEVICE_CATEGORY_SPEAKER
        Gains::sSilentVolumeCurve,    // DEVICE_CATEGORY_HEADSET
        Gains::sLinearVolumeCurve, // DEVICE_CATEGORY_SPEAKER
        Gains::sFullScaleVolumeCurve, // DEVICE_CATEGORY_SPEAKER
        Gains::sSilentVolumeCurve,    // DEVICE_CATEGORY_EARPIECE
        Gains::sSilentVolumeCurve     // DEVICE_CATEGORY_EXT_MEDIA
    },