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

Skip to content
Commit cb0a9ef9 authored by nadlabak's avatar nadlabak Committed by Ethan Chen
Browse files

alsa_sound: Fix handling of zero size write request

Previously, periodSize number of bytes from the buffer pointer
location were always written to PCM even in the case when the
write call specified 0 bytes buffer size.
This caused short pop noise at the beginning of the playback
after the "audio flinger: force audio path start from normal mixer"
fake write() of 0 bytes introduction in audioflinger.

Change-Id: Ifeb353fed01a2f2b7e771a7ccb7d422f77a69228
parent b932690a
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