Implement WASAPI loopback support
This works by detecting output devices in build_input_stream() and setting the AUDCLNT_STREAMFLAGS_LOOPBACK flag to enable loopback recording. closes #251
This commit is contained in:
parent
be54ffff09
commit
dcabad105b
3 changed files with 14 additions and 3 deletions
|
|
@ -552,7 +552,7 @@ impl Device {
|
|||
}
|
||||
}
|
||||
|
||||
fn data_flow(&self) -> EDataFlow {
|
||||
pub(crate) fn data_flow(&self) -> EDataFlow {
|
||||
let endpoint = Endpoint::from(self.device as *const _);
|
||||
endpoint.data_flow()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue