author | Misael Lopez Cruz <misael.lopez@ti.com> | |
Thu, 30 Jan 2014 21:27:20 +0000 (15:27 -0600) | ||
committer | Misael Lopez Cruz <misael.lopez@ti.com> | |
Thu, 30 Jan 2014 23:05:50 +0000 (17:05 -0600) | ||
commit | 00fb8c8511b0a94dddd90b357abcc45be1b00a36 | |
tree | f318b3aaadb9d8cad50b54a25c2d569e5edc03b9 | tree | snapshot (tar.xz tar.gz zip) |
parent | 7c835cd660854083860e2ee8793ab6b5dff84c21 | commit | diff |
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>
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 | diff | blob | history |