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

waveout ini display error ,can't find a supporte foramt #1156

Open
zhangxinghua01 opened this issue May 8, 2024 · 1 comment
Open

waveout ini display error ,can't find a supporte foramt #1156

zhangxinghua01 opened this issue May 8, 2024 · 1 comment

Comments

@zhangxinghua01
Copy link

waveOut = new WasapiOut((MMDevice)cbWRender.SelectedValue,
AudioClientShareMode.Exclusive,
false,
200);

         SignalGenerator   sg = new SignalGenerator();
            sg .Frequency = Signal_Freq; 
            sg .Type = SignalGeneratorType.Sin;

            waveOut.Init(sg );
@markheath
Copy link
Contributor

for wasapi exclusive mode I think you'll need stereo IEEE floating point. Shared mode will do format conversion for you

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

2 participants