OSDN Git Service

Support multichannel sounds in bootanim
authorGeoffrey Pitsch <gpitsch@google.com>
Wed, 24 Aug 2016 18:35:09 +0000 (14:35 -0400)
committerGeoffrey Pitsch <gpitsch@google.com>
Wed, 24 Aug 2016 20:59:16 +0000 (16:59 -0400)
commitdb90897b5fa23aa46ce50494e0fb4808948f4524
tree19edb488dd6fc2e0c8625d45e6cf54c6866092c6
parentedaaef304aa7e72ac3f8a0b586b5513fd4df0267
Support multichannel sounds in bootanim

Manually handle the 1-2 channel cases to avoid the warning
log when 0 is passed as the channelMask.

Bug: 30820152
Change-Id: I4d2c8736ff442fae9a4c5eb16061646fb53151b6
cmds/bootanimation/audioplay.cpp