Ian, I may have a new bug...I'm trying to build in an EQ, and used the following:
public int[] FXEQ = { 0, 0, 0 };
private void SetBFX_EQ(int stream)
{
BASS_DX8_PARAMEQ eq = new BASS_DX8_PARAMEQ();
FXEQ[0] = Bass.BASS_ChannelSetFX(stream, BASSFXType.BASS_FX_DX8_PARAMEQ, 0);
FXEQ[1] = Bass.BASS_ChannelSetFX(stream, BASSFXType.BASS_FX_DX8_PARAMEQ, 0);
FXEQ[2] = Bass.BASS_ChannelSetFX(stream, BASSFXType.BASS_FX_DX8_PARAMEQ, 0);
eq.fBandwidth = 18f;
eq.fCenter = 100f;
eq.fGain = 0f;
Bass.BASS_FXSetParameters(FXEQ[0], eq);
eq.fCenter = 1000f;
Bass.BASS_FXSetParameters(FXEQ[1], eq);
eq.fCenter = 8000f;
Bass.BASS_FXSetParameters(FXEQ[2], eq);
}
When I call SetBFX_EQ on a valid stream, I get:
An unhandled exception of type 'System.PlatformNotSupportedException' occurred in Bass.Net.WinStore.dll
Additional information: Marshalling arbitrary types is not supported
Mod, Midi, getvalues, and other APIs work fine. I've tried this in both a Task.Run and outside of it, with no luck. Any ideas?