aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_sndio.c
diff options
context:
space:
mode:
authorDan Glastonbury <[email protected]>2017-05-22 18:55:15 +1000
committerAlex Chronopoulos <[email protected]>2017-05-22 11:55:15 +0300
commit96cdb173f86dfc86cbd21d097b24ec1e256d69fc (patch)
treed1e37936ba60cb43266b16430d2c0fa044bd1efe /src/cubeb_sndio.c
parent91f801d661d6fcad9d01ea5ba3bbf5d59fa9ac4c (diff)
downloadcubeb-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_sndio.c')
-rw-r--r--src/cubeb_sndio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cubeb_sndio.c b/src/cubeb_sndio.c
index 150ac40..52b2234 100644
--- a/src/cubeb_sndio.c
+++ b/src/cubeb_sndio.c
@@ -370,6 +370,7 @@ static struct cubeb_ops const sndio_ops = {
.get_preferred_sample_rate = sndio_get_preferred_sample_rate,
.get_preferred_channel_layout = NULL,
.enumerate_devices = NULL,
+ .device_collection_destroy = NULL,
.destroy = sndio_destroy,
.stream_init = sndio_stream_init,
.stream_destroy = sndio_stream_destroy,