audio: Dynamically set encoder format for a2dp

Dynamically set bits per sample based on the configuration.

Change-Id: Ieb88000f6fbf63d654a38ff041553efac21d0540
1 file changed