add support for ape decoder

Change-Id: I9fba46ee0f237d2251fccb99a5d11686bf489377