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

Commit 9cb01d81 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 12999397 from f020ef2d to 25Q2-release

Change-Id: I72cd007297986f41d874cec798fdf52ce2503598
parents a044090b f020ef2d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -602,6 +602,8 @@ status_t AudioTrack::set(
        mOffloadInfoCopy.sample_rate = sampleRate;
        mOffloadInfoCopy.channel_mask = channelMask;
        mOffloadInfoCopy.stream_type = streamType;
        mOffloadInfoCopy.usage = mAttributes.usage;
        mOffloadInfoCopy.bit_width = audio_bytes_per_sample(format) * 8;
    }

    mVolume[AUDIO_INTERLEAVE_LEFT] = 1.0f;