diff options
author | dvdli <dvdli@google.com> | 2020-10-29 18:31:55 +0800 |
---|---|---|
committer | dvdli <dvdli@google.com> | 2020-10-29 18:31:55 +0800 |
commit | ee63fc9a456215d88de45881565b7dae71eafb48 (patch) | |
tree | d2d85019c0c9da175faf4a02e4900729f922467e /examples | |
parent | dbb6ba612745097ffc317fff327a5408ea17bbc5 (diff) |
check whether the audio data are still enough to play
reference: https://android.googlesource.com/platform/external/tinyalsa/+/8b7274b2ec686c87673bf39328381acbdea1a333
commit 8b7274b2ec686c87673bf39328381acbdea1a333
author Haynes Mathew George <hgeorge@codeaurora.org>
tinyplay: play PCM up to size specified in the header
tinyplay plays to the end of file without checking whether playback
goes beyond end of data section which its size is specified in the
RIFF wave header. This could lead to playing out unwanted data which
is placed at the end of file.
authored-by: Patrick Lai <plai@codeaurora.org>
Change-Id: I17bd3f6ebca4813f8987585472208c1f52696cae
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions