diff options
author | Dan Glastonbury <[email protected]> | 2017-05-22 18:55:15 +1000 |
---|---|---|
committer | Alex Chronopoulos <[email protected]> | 2017-05-22 11:55:15 +0300 |
commit | 96cdb173f86dfc86cbd21d097b24ec1e256d69fc (patch) | |
tree | d1e37936ba60cb43266b16430d2c0fa044bd1efe /src/cubeb_kai.c | |
parent | 91f801d661d6fcad9d01ea5ba3bbf5d59fa9ac4c (diff) | |
download | cubeb-96cdb173f86dfc86cbd21d097b24ec1e256d69fc.tar.gz cubeb-96cdb173f86dfc86cbd21d097b24ec1e256d69fc.zip |
Push destroy fns to backend (#302)
* Make cubeb_device_info_destroy private.
* Move implementation of cubeb_device_collection_destroy to cubeb_utils.
* Move cubeb_device_collection_destroy implementation into backend.
Push the responsiblity for destroying device collections to the
backends so they can make independent choices on how to handle
allocation.
* Unstage space changes
Diffstat (limited to 'src/cubeb_kai.c')
-rw-r--r-- | src/cubeb_kai.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cubeb_kai.c b/src/cubeb_kai.c index eee9c95..f6a79be 100644 --- a/src/cubeb_kai.c +++ b/src/cubeb_kai.c @@ -345,6 +345,7 @@ static struct cubeb_ops const kai_ops = { /*.get_preferred_sample_rate =*/ kai_get_preferred_sample_rate, /*.get_preferred_channel_layout =*/ NULL, /*.enumerate_devices =*/ NULL, + /*.device_collection_destroy =*/ NULL, /*.destroy =*/ kai_destroy, /*.stream_init =*/ kai_stream_init, /*.stream_destroy =*/ kai_stream_destroy, |