d2: adds support for 5.1 sound

Change-Id: I5cdb6c084f8db4466f6701894a798308072a2253