Call recording with OpenSL
问题 I try to fix call recording in my app since lolipop update in my Galaxy S5. As a base I am using google sample project from here: Sample. And this is the main part of the code: AudioRecorder::AudioRecorder(SampleFormat *sampleFormat, SLEngineItf slEngine) :freeQueue_(nullptr), recQueue_(nullptr), devShadowQueue_(nullptr), callback_(nullptr) SLresult result; sampleInfo_ = *sampleFormat; SLAndroidDataFormat_PCM_EX format_pcm; ConvertToSLSampleFormat(&format_pcm, &sampleInfo_); gFp = fopen("