summaryrefslogtreecommitdiff
path: root/compress_plugin.c
AgeCommit message (Collapse)Author
2022-09-07tinycompress: free dynamic memory after useJaideep Sharma
Release dynamically allocated memory for open_fn once dlsym is done to avoid memory leaks. CRs-Fixed: 3285530 Change-Id: I5b22a8db3c76a9134d4d0946ec33d8a0c4226bac
2022-04-04tinycompress: do not loop in the compress readAjender Reddy
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
2021-09-23tinycompress: plugin: Set codec params in SETUP stateRitu Sharma
Allow codec params to be set in COMPRESS_PLUG_SETUP state as well. CRs-Fixed: 3023915 Change-Id: Ic1f93628c9fa325653cbd65a0cc827310276f81d
2021-08-25tinycompress: Add support for compress_set_codec_params APIRitu Sharma
Add support for compress_set_codec_params API which is used to send codec parameters from clients directly. CRs-Fixed: 2926417 Change-Id: I83f52378e288f15bccfc8a7798d33943a02d5e52
2021-01-13fix buildEric Laurent
Fix build breakage introduced by commit f86d1a2e with strlcpy argument checks. Test: make checkbuild Change-Id: I3084f1e294d15a12923958af9170f00413fae2bb
2021-01-13Revert "Revert "tinycompress: Fix error handling in plugins.""Eric Laurent
This reverts commit d655935a89e1474d99eb18a8e2bc1a066e1734bf. Test: make Change-Id: I95016c6e542de7e3bcba4a239ec2765b841dcfc5
2021-01-13Revert "tinycompress: Fix error handling in plugins."Eric Laurent
This reverts commit f86d1a2e03fcc6876d7f0e27e2a2f394963b7ae2. Reason for revert: b/177399104 Change-Id: I672a5f667918df3d2ffdf43cd152d710c7806555
2020-12-10tinycompress: Fix error handling in plugins.Vidyakumar Athota
Bug: 166667071 Test: manual offload playback Test: cts AudioTrackOffloadTest CRs-Fixed: 2608556 Change-Id: I7ea6a7bb712367546607b8d7985cc4de8ca2455f
2020-12-10external: tinycompress: add support for compress pluginsVidyakumar Athota
Add plugin support to use vendor specific compress implementation Bug: 166667071 Test: manual offload playback test Test: cts AudioTrackOffloadTest CRs-Fixed: 2563258 Change-Id: I71f588b9ed84b62d3b1b08dae7ce65f8fa649e6a