Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApplicationLoopback sample: suggested usage of GetMixFormat not working (only on Windows 10?) #343

Open
F3-L1x opened this issue Apr 13, 2024 · 0 comments

Comments

@F3-L1x
Copy link

F3-L1x commented Apr 13, 2024

As #196 brought up, the ApplicationLoopback sample (./cpp/LoopbackCapture.cpp:95) tells, that:

// The app can also call m_AudioClient->GetMixFormat instead to get the capture format.

But that doesn't work and I get an E_NOTIMPL (HResult 0x80004001).
That happens for m_AudioClient->IsFormatSupported() too.

The README mentions:

Note that this sample requires Windows 10 build 20348 or later.

Is GetMixFormat() (and IsFormatSupported()) only supported on Windows build 20348 (which is, as far as I found out, Windows Server 2022 21H2) and later, and not on Windows 10?
Just for clarification, the sample itself works on my Windows 10 22H2 (build 19045) system.

Thanks for any replies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant