]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/device-ti-common-open.git/commit
audio: utils: Fix SimpleWriter's returned frames
authorMisael Lopez Cruz <misael.lopez@ti.com>
Thu, 30 Jan 2014 21:27:20 +0000 (15:27 -0600)
committerMisael Lopez Cruz <misael.lopez@ti.com>
Thu, 30 Jan 2014 23:05:50 +0000 (17:05 -0600)
commit00fb8c8511b0a94dddd90b357abcc45be1b00a36
treef318b3aaadb9d8cad50b54a25c2d569e5edc03b9
parent7c835cd660854083860e2ee8793ab6b5dff84c21
audio: utils: Fix SimpleWriter's returned frames

SimpleWriter must return the number of SimpleOutStream's frames
written. The returned number of frames was that of the underlying
PcmOutPort which differs from the SimpleOutStream's when resampling
is used (due to the resampling ratio).

Change-Id: Iecbb13f4a8f9be0fc84ae60b408437b946de6d6e
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
audio/utils/src/SimpleStream.cpp