aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_sndio.c
diff options
context:
space:
mode:
authorChun-Min Chang <[email protected]>2017-07-07 11:22:39 +0800
committerMatthew Gregan <[email protected]>2017-07-07 15:46:56 +1200
commit3cd65d2e7be3524ce6d4c86eed12a82f221dae9c (patch)
tree6f272f88cec1e376cee4b3f93fe4da1e6355bed6 /src/cubeb_sndio.c
parent0070c117faf97a889785364af0a67a2509734770 (diff)
downloadcubeb-3cd65d2e7be3524ce6d4c86eed12a82f221dae9c.tar.gz
cubeb-3cd65d2e7be3524ce6d4c86eed12a82f221dae9c.zip
Add an API to reset audio stream to the default device
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 e6a7b98..8b35984 100644
--- a/src/cubeb_sndio.c
+++ b/src/cubeb_sndio.c
@@ -376,6 +376,7 @@ static struct cubeb_ops const sndio_ops = {
.stream_destroy = sndio_stream_destroy,
.stream_start = sndio_stream_start,
.stream_stop = sndio_stream_stop,
+ .stream_reset_default_device = NULL,
.stream_get_position = sndio_stream_get_position,
.stream_get_latency = sndio_stream_get_latency,
.stream_set_volume = sndio_stream_set_volume,