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

FormatNotSupported error on Windows 7 #242

Open
raphlinus opened this issue Sep 14, 2018 · 2 comments
Open

FormatNotSupported error on Windows 7 #242

raphlinus opened this issue Sep 14, 2018 · 2 comments

Comments

@raphlinus
Copy link

My code (https://github.com/raphlinus/synthesizer-io , just cargo run, see here for the code that sets up cpal playback) fails on my Windows 7 laptop with FormatNotSupported error.

I did some debugging, and the IsFormatSupported call is returning S_FALSE and the closest match the same as the request but with dwChannelMask filled in as 3 rather than 0. If I locally patch so that dwChannelMask in the request is initialized to 3, it works.

@tomaka tomaka added the bug label Sep 18, 2018
@JoshuaBatty
Copy link
Contributor

Hi @raphlinus I just left a comment here with my thoughts on no longer supporting Windows 7 in cpal going forward. I would love to hear your thoughts however!

@shenshouer
Copy link

The same error on My Macbook Pro:

MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
Processor 2 GHz Quad-Core Intel Core i5
Graphics Intel Iris Plus Graphics 1536 MB

Darwin bogon 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64

Rahix/visualizer2#2

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

No branches or pull requests

5 participants