hal: Add support for buffer duration in offload usecase

Add support for buffer duration in offload usecase.
HAL configures the buffer size corresponding to the
duration specified by the client.

Change-Id: I73faf8ddd633ba8a889f3189fcc6d4392a0e1a42
3 files changed