diff options
author | Ajender Reddy <quic_ajender@quicinc.com> | 2022-02-08 00:29:15 +0530 |
---|---|---|
committer | Ajender Reddy <quic_ajender@quicinc.com> | 2022-04-04 21:30:56 +0530 |
commit | f6700a93634f3c219a40b1298d12cbbf5ebf1160 (patch) | |
tree | 8ff84f79bb871c15761516f097bf466700255858 /utils.c | |
parent | 19229ae4b561d27c4ed74e8f4ed72d1ceed67aa6 (diff) |
tinycompress: do not loop in the compress read
Return the compress read immediately when it is
successful. client can recall for the remaining bytes.
Also, In case of capture, move the plugin state
to prepared when set params is successful.
Earlier in case of playback this plug state is moved
to prepare only when first write is successful.
CRs-Fixed: 3164253
Change-Id: I2b8e2a12397682c5a17473ea06623c1152cc9819
Diffstat (limited to 'utils.c')
0 files changed, 0 insertions, 0 deletions