commit | e0a96c11ee3b4605e5aca744235d5df7806d7f7b | [log] [tgz] |
---|---|---|
author | Dean Wheatley <dwhea@dolby.com> | Sun Jan 21 05:13:18 2024 +1100 |
committer | Dean Wheatley <dwhea@dolby.com> | Tue Jan 23 12:02:15 2024 +1100 |
tree | a45a57a11a6155e5af129bea763284034f294614 | |
parent | c540e27e1de88e98ebcd2489d6ff638ee5a2470b [diff] |
SPDIFEncoder: support flush burst buffer over multiple output writes SPDIFEncoder writeOutput may not consume all bytes on first write. Add loop to cycle through all bytes over multiple writes. Test: atest android.media.audio.cts.LoopbackPassthroughTest#testEac3JocLoopback on AIDL remote submix HAL timestamps advance correctly because all iec61937 encapsulated bytes are written to the HAL correctly. Change-Id: I5e5ff56792c6fc823d06c60dfca1d317fe1955ba