commit | 7c835cd660854083860e2ee8793ab6b5dff84c21 | [log] [tgz] |
---|---|---|
author | Misael Lopez Cruz <misael.lopez@ti.com> | Tue Jan 28 14:06:45 2014 -0600 |
committer | Misael Lopez Cruz <misael.lopez@ti.com> | Thu Jan 30 17:05:44 2014 -0600 |
tree | 0387420e7e4dcf1677091e6779b2b7e97dd0daad | |
parent | 46be7175bc6fdbbfad4cb143a69f7417b7066c55 [diff] |
audio: utils: Add flush() and size() methods to MonoPipe Add two new methods to the MonoPipe class: - flush(): Flushes the audio frames available in the pipe. It should be called when te pipe is already in shutdown state to ensure that no more new data is pushed. - size(): Queries the pipe size. Change-Id: Ia8c2ac287a475bd3e72f48368d297fc544b19eed Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>