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_audiotrack.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_audiotrack.c')
-rw-r--r-- | src/cubeb_audiotrack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cubeb_audiotrack.c b/src/cubeb_audiotrack.c index c0455ae..0ffa998 100644 --- a/src/cubeb_audiotrack.c +++ b/src/cubeb_audiotrack.c @@ -423,6 +423,7 @@ static struct cubeb_ops const audiotrack_ops = { .get_preferred_sample_rate = audiotrack_get_preferred_sample_rate, .get_preferred_channel_layout = NULL, .enumerate_devices = NULL, + .device_collection_destroy = NULL, .destroy = audiotrack_destroy, .stream_init = audiotrack_stream_init, .stream_destroy = audiotrack_stream_destroy, |