Skip to content

Provide Device::is_{input/output}_format_supported #203

@mitchmindtree

Description

@mitchmindtree

There are a few problems with the current supported_formats method:

  1. Many devices support massive numbers of supported formats and it is impractical to try and iterate over them all.
  2. The alsa and wasapi backends are only able to provide supported_formats by querying the device with arbitrary formats.
  3. SupportedFormat only supports "range"s of sample rates. Perhaps a way of querying whether or not Formats are supported is more useful? Perhaps the supported_{input/output}_formats methods could be changed to known_supported_input/output_formats to clarify that it only returns a subset of all supported stream formats?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions