Skip to content

Support WASAPI Loopback #251

@rawhat

Description

@rawhat

The WASAPI supports loopback, where you are provided a listening device for each output device. There are a handful of libraries which support this, might be nice to have here?

I'm poking around at the source to see if I can figure it out, but I am quite inexperienced with Rust (and winapi, for that matter). winapi provides a flag for this (used in other libraries I have found): AUDCLNT_STREAMFLAGS_LOOPBACK. Simply adding this doesn't work, at least for device enumeration.

Going to keep digging, but also curious if this is something that has been discussed/considered before. Thanks!

Edit: Oof, randomly found this while perusing some examples: // note that AUDCLNT_STREAMFLAGS_LOOPBACK and AUDCLNT_STREAMFLAGS_EVENTCALLBACK // do not work together... so this may not be doable, since this lib is using that flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions