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

Commit 44af5fbc authored by jiabin's avatar jiabin Committed by Jiabin Huang
Browse files

Allocate buffer from heap to copy data when exiting standby.

When the stream is an offload stream, there may be lots of data written
but not played when the stream is in standby mode. When exiting standby,
aaudio will have to copy those data to the new shared buffer. Allocate
the buffer from heap to copy data to avoid crash as the data size may be
greater than the stack limitation.

Bug: 416107227
Test: restart offload stream from standby
Flag: EXEMPT bugfix
Change-Id: I12140819a360044014d604ca898c66c710ac9729
parent ce7dfb8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment