I am trying to do the following AudioToolbox AudioSessionSetProperty in Xamarin.
UInt32 allowBluetoothInput = 1;
error = AudioSessionSetProperty (
kAudioSessionProperty_OverrideCategoryEnableBluetoothInput,
sizeof (allowBluetoothInput),
&allowBluetoothInput);
if (error) printf("couldn't set Bluetooth Input!");
Does anyone know how to do this? Thank you in advance.
Dicer source
share