mozilla / cubeb-coreaudio-rs

The audio backend of Firefox on Mac OS X.
ISC License
25 stars 10 forks source link

Use `get_channel_count` for `max_channel_count` #168

Closed ChunMinChang closed 2 years ago

ChunMinChang commented 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.

ChunMinChang commented 2 years ago

This is on top of https://github.com/mozilla/cubeb-coreaudio-rs/pull/167. I'll rebase once it's merged.