You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I noticed it is possible for cpal to create a valid audio device through HostTrait::default_output_device even though the SupportedStreamConfig returned from DeviceTrait::default_output_config had a channel count of 0. Is this expected behavior? If so, what does a channel count of 0 mean?
I'm aware that a device may become invalid if they get disconnected. That is not the case in my example, this all happens during initialization code.
If any more info is required let me know!
The text was updated successfully, but these errors were encountered:
Recently I noticed it is possible for
cpal
to create a valid audio device throughHostTrait::default_output_device
even though theSupportedStreamConfig
returned fromDeviceTrait::default_output_config
had a channel count of 0. Is this expected behavior? If so, what does a channel count of 0 mean?I'm aware that a device may become invalid if they get disconnected. That is not the case in my example, this all happens during initialization code.
If any more info is required let me know!
The text was updated successfully, but these errors were encountered: