commit | 33f4b7d63b511b145e3ce72580a52f3551358a61 | [log] [tgz] |
---|---|---|
author | Ed Coyne <edcoyne@google.com> | Tue Apr 10 13:39:09 2018 -0700 |
committer | Ed Coyne <edcoyne@google.com> | Thu May 31 11:50:47 2018 -0700 |
tree | 3231e0a33be92e7758f9e6b11b33172c3e89288e | |
parent | 3bb9562f198bbbdf2bf949203936b092903803f1 [diff] |
Refactor audio code out of bootanimation_main. So it can be shared with the iot/ variant I refactored it into the audioplay.h file. This keeps all of the audio code local, we could hide the functions and only expose the callback but that would make testing harder. Test: Ran a bootanimation.zip with audio.wav on Marlin, works as expected. Bug: 67051984 Change-Id: Ie31dc5f2cfaad5bb23134ef81be712afa6b3cd6f