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.
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).
winapiprovides 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.