Closed ChunMinChang closed 2 years ago
We use get_channel_count for the max channel count in enumerate_devices but we use get_device_stream_format's channel info for max_channel_count. We should use get_channel_count instead.
get_channel_count
enumerate_devices
get_device_stream_format
max_channel_count
This is on top of https://github.com/mozilla/cubeb-coreaudio-rs/pull/167. I'll rebase once it's merged.
We use
get_channel_count
for the max channel count inenumerate_devices
but we useget_device_stream_format
's channel info formax_channel_count
. We should useget_channel_count
instead.