av: change return value if effect is not processing

Return -ENODATA in case if effect is not processing
so AudioFlinger can stop calling process on the effect.
Otherwise, AudioFlinger will retry for a disable count,
causing no sound for that period.

Bug: 301214647
Test: Enable AIDL and test with effects

Change-Id: Ie987e6384b87e720b3fd569e242f6b8c3ae11e31
Merged-In: Ie987e6384b87e720b3fd569e242f6b8c3ae11e31
1 file changed