ManagedBass Wasapi dll UWP

1

I have to retrieve the device output data to create a stream with ManagedBass.Wasapi.dll, but an error is returned despite having copied the basswasapi.dll to the system32 folder and to the app's debug folder.

MainPage.xaml.cs:

private void BtnWasapi_Click(object sender, RoutedEventArgs e)
{
    var device = BassWasapi.CurrentDevice;
}

I installed the dll with:

Install-Package ManagedBass.Wasapi -Version 2.0.0

The error is:

Attempted to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

How can BassWasapi work?

Thanks in advance.

c#
uwp
wasapi
asked on Stack Overflow Feb 8, 2020 by Prino

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0