audio: utils: Unify error reporting in buffer providers

Use a consistent error reporting mechanism for buffer providers,
specifically in getNextBuffer(): frameCount is set to 0 and the
appropriate error code is returned.

Change-Id: I3a865b95ccabbde982f5c62ba713a80d0a6f561f
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
3 files changed