visualizer:Handle pcmopen error for WFD+visualizer

WFD and offload visualizer effect both use same
proxy capture device resulting in pcm_open failure
when offload playback with visualizer effect is
enabled on WFD device.This is handled by APM to
fallback to deep-buffer so that software visualizer
effect is enabled.

This change ensures to avoid pcm_open until APM invalidates
offload track, that is, changing the visualizer effect
state transition.

CRs-Fixed: 2310784
Change-Id: I13ccf1051d10b67898a35d7a8a855c9b1f6c1e58
1 file changed