microsoft / microsoft/Windows-classic-samples
ApplicationLoopback sample: suggested usage of GetMixFormat not working (only on Windows 10?)
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 5.7k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at ./cpp/LoopbackCapture.cpp:95 and compare the GetMixFormat and IsFormatSupported guidance with the README's Windows 10 build 20348 requirement. Reproduce the E_NOTIMPL result on Windows 10 build 19045 and determine whether the sample comment or README needs clarification; done means the supported behavior and version requirements are documented accurately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100