microsoft / microsoft/Windows-classic-samples
ApplicationLoopback sample passes AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM to wrong parameter?
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
Seems like AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM is being passed to hnsPeriodicity instead of StreamFlags.
Other questions:
The sample suggests GetMixFormat is supposed to work for clients created with AUDIOCLIENT_ACTIVATION_PARAMS, but I'm seeing E_NOTIMPL. Maybe that's because I'm using 21H1?
The docs say AUDIOCLIENT_ACTIVATION_PARAMS needs 20348, but I don't know where that fits into Windows 10/11 versions. As someone who only has access to public/insider builds, is there a build ready to develop against this API? Someone says this API works as far back as 20H1, but maybe the API isn't fully baked on older Windows 10, and our application shouldn't allow that.
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 with the ApplicationLoopback sample and inspect the call that uses hnsPeriodicity and StreamFlags. Reproduce the GetMixFormat result with AUDIOCLIENT_ACTIVATION_PARAMS on the reported Windows 10 21H1 environment, then compare the behavior with the documented 20348 requirement and other mentioned Windows versions. Done means the parameter usage and supported-version behavior are verified and the sample's handling is clarified.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100