Hi,
I got BASS_Init failure with BASS_ERROR_UNKNOWN on Android (using BASS.NET library), see below code:
if (!Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_AUDIOTRACK, default(IntPtr)))
{
Trace.TraceError($"Bass.Init fail! errcode:{Bass.BASS_ErrorGetCode()}");
return;
}
Version info:
Bass version: 2.4.17
Bass_GetVersion returns: 33820928
BASS.NET version: 2.4.17.5
Android device: Redmi K30 Pro, Android 12
If i replace 'BASSInit.BASS_DEVICE_AUDIOTRACK' with 'BASSInit.BASS_DEVICE_DEFAULT', no error occurs.
Thanks for any help.