libmix: set EOS flag in the last output frame

BZ: 134842

set eos flag in the last output frame if draining flag is set

Change-Id: I7ca213833cf94cb495b0f6b029d441d079df11da
Signed-off-by: ywan171 <yi.a.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/133482
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
2 files changed