Allow volume setting only for offloadable effect for Offload

Music volume is set to max for an instant
when enabling non-offloadable effect during compress offload playback.

Non-offloadable effect module having volume control is created
and linked to Offload thread.
After that,  when enabling it during playback,
volume is set max to Offload thread to switch volume control module
before switching Playback thread from Offload to Mixer.
Then, until completing thread switch,
Offload Thread works with max volume.

To avoid this issue, check effect capability
so that only offloadable effect can set volume on Offload Thread.

Bug: 113311497
Test: Enable non-offloadble effect during offload playback

Change-Id: I91b7313d55ca7cfcde206f158ce553432499e992
2 files changed