naudio / NAudio

Audio and MIDI library for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[UWP] Is there a way to make NAudio.Wasapi/NAudio.WaveFormRenderer(NAudio.Core) pass Windows App Certification Kit?

Billeclipse opened this issue · comments

Discussed in #1030

Originally posted by Billeclipse May 22, 2023
I see that only WasapiOutRT and WasapiCaptureRT exists for UWP and i know that the UWP support in NAudio is still in a beta state but is there any way to support naudio/NAudio.WaveFormRenderer and create waveforms for an UWP app?

After making NAudio.WaveFormRenderer nuget package work at my UWP project i am getting 4 errors at the WACK (Windows App Certification Kit).
The dependencies that i am using from the NAudio.WaveFormRenderer are the PeakInfo class and the NAudio.Core -> NAudio.Wave -> ISampleProvider class. Also from the NAudio.Wasapi i am using the classes NAudio.Wave -> MediaFoundationReader and NAudio.Wave -> StreamMediaFoundationReader.

Screenshot 2024-01-04 173425

Example project with the WACK issue: WaveformUISample

Is there a way to solve those errors?