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

Support ASIO and WAVEIN/WAVEOUT in .Net Core 3.0 #574

Merged
merged 11 commits into from
Jan 31, 2020

Conversation

jwosty
Copy link
Contributor

@jwosty jwosty commented Dec 30, 2019

Address #538 in spirit. Specifically, this PR brings the missing ASIO code into the .Net Standard build of NAudio, as well as the WaveIn and WaveOut code into the .Net Core 3.0 build.

The latter works because Windows Forms (used by WaveIn/WaveOut for message pumping: see NAudio/Wave/MmeInterop/WaveWindow.cs) is now supported by .Net Core 3.0 but not .Net Standard.

This PR also modifies the WPF and WinForms sample apps to multi-target for .Net Framework and .Net Core 3.0 to demonstrate the targeting changes.

@jwosty
Copy link
Contributor Author

jwosty commented Dec 30, 2019

Build failure appears to suggest that CI needs to upgrade to .Net Core 3.0.

@Molive-0
Copy link

Can confirm this build works and that the CI is at fault.

@markheath
Copy link
Contributor

thanks for this, and apologies for the delay - haven't had much time to work on NAudio recently. I just need to test and work out if I can get the Azure Devops build going. I think it might just be a case of needing to update the azure-pipelines.yml file to set vmImage to windows-2019 as documented here

markheath added a commit that referenced this pull request Jan 31, 2020
@markheath markheath mentioned this pull request Jan 31, 2020
@markheath markheath merged commit 4803dea into naudio:master Jan 31, 2020
DavidMartynWood pushed a commit to DavidMartynWood/NAudio that referenced this pull request Jul 3, 2020
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

Successfully merging this pull request may close these issues.

3 participants