diff options
author | Haakon Sporsheim <[email protected]> | 2015-09-24 09:31:51 +0200 |
---|---|---|
committer | Haakon Sporsheim <[email protected]> | 2015-09-24 09:31:51 +0200 |
commit | d1183d70876a8782aa2ba83329e9efa2fad1848c (patch) | |
tree | 9c62ecaaf6a64f713ddfe31914ef2118ee3dac6c /src/cubeb_kai.c | |
parent | 5c2ae5241892ad4a7eba6c29485a84b57410409c (diff) | |
download | cubeb-d1183d70876a8782aa2ba83329e9efa2fad1848c.tar.gz cubeb-d1183d70876a8782aa2ba83329e9efa2fad1848c.zip |
kai: remove enumerate_devices stub for now.
Not implemented yet.
Diffstat (limited to 'src/cubeb_kai.c')
-rw-r--r-- | src/cubeb_kai.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/cubeb_kai.c b/src/cubeb_kai.c index 9cedd5c..a5ec7b0 100644 --- a/src/cubeb_kai.c +++ b/src/cubeb_kai.c @@ -271,21 +271,6 @@ kai_get_preferred_sample_rate(cubeb * ctx, uint32_t * rate) } static int -kai_enumerate_devices(cubeb * context, cubeb_device_type type, - cubeb_device_list ** devices, uint32_t * count) -{ - (void)context; - (void)type; - - *devices = NULL; - if (count != NULL) - *count = 0; - - return CUBEB_ERROR_NOT_SUPPORTED; -} - - -static int kai_stream_start(cubeb_stream * stm) { if (kaiPlay(stm->hkai)) @@ -344,9 +329,9 @@ static struct cubeb_ops const kai_ops = { /*.get_max_channel_count=*/ kai_get_max_channel_count, /*.get_min_latency=*/ kai_get_min_latency, /*.get_preferred_sample_rate =*/ kai_get_preferred_sample_rate, - /*.enumerate_devices =*/ kai_enumerate_devices, - /*.device_info_destroy =*/ cubeb_device_info_destroy_no_devid, - /*.device_id_to_str =*/ cubeb_device_id_idx, + /*.enumerate_devices =*/ NULL, + /*.device_info_destroy =*/ NULL, + /*.device_id_to_str =*/ NULL, /*.destroy =*/ kai_destroy, /*.stream_init =*/ kai_stream_init, /*.stream_destroy =*/ kai_stream_destroy, |