### Godot version

v3.6.beta.custom_build [42083f3a6]

### System information

Android 11, MediaTek Helio P35 (32bit), PowerVR Rogue GE8320, also tested on: Android 10, Snapdragon 636, Adreno 506,

### Issue description

When trying to use the microphone input in an AudioStreamPlayer node on the godot android editor, unexpectedly crashes after a few seconds regardless of whether it is a new project or not. 
If the initial scene has an AudioStreamPlayer node configured with an AudioStreamMicrophone it will continuously close, not allowing to start.

### Steps to reproduce

1: Create a new project or use a existent one.
2: Press "Project" and "Project Settings"
3: Go to "Audio" and activate "Enable Audio Input"
4: After restarting, create an AudioStreamPlayer Node
5: On Stream, add a new AudioStreamMicrophone

Wait a few seconds until it crashes

### Minimal reproduction project

Use a New Project
AudioDriverOpenSL *ad = static_cast<AudioDriverOpenSL *>(pContext);
	ad->_record_buffer_callback(queueItf);
}
Error AudioDriverOpenSL::init_input_device() {
	SLDataLocator_IODevice loc_dev = {
		SL_DATALOCATOR_IODEVICE,
		SL_IODEVICE_AUDIOINPUT,
		SL_DEFAULTDEVICEID_AUDIOINPUT,
		nullptr
	};
	SLDataSource recSource = { &loc_dev, nullptr };
	SLDataLocator_AndroidSimpleBufferQueue loc_bq = {
		SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE,
		2
	};
	SLDataFormat_PCM format_pcm = {
		SL_DATAFORMAT_PCM,
		1,
		SL_SAMPLINGRATE_44_1,
		SL_PCMSAMPLEFORMAT_FIXED_16,
		SL_PCMSAMPLEFORMAT_FIXED_16,
		SL_SPEAKER_FRONT_CENTER,
		SL_BYTEORDER_LITTLEENDIAN
	};
	SLDataSink recSnk = { &loc_bq, &format_pcm };
	const SLInterfaceID ids[2] = { SL_IID_ANDROIDSIMPLEBUFFERQUEUE, SL_IID_ANDROIDCONFIGURATION };