jiabin
jiabin
I tested on Pixel device with disabling MMAP. And it still works. When the OboeTester was recording and the recorder app was at background, the recorder app only got silent...
Thanks for pointing that out, @chrismanchester. The comment you mentioned does indicate that is an issue specific on Xiaomi device. As Phil mentioned, we have reported this to Xiaomi and...
Thanks Robert for giving me the redmi device to test! I was able to repo on the Redmi device even with disabling Google assistant. The problem was caused by Redmi...
> My device supports a maximum sample rate of 48000, but the headphones connected to the device can support up to 96000. Currently, Oboe prioritizes the highest sample rate available,...
It is hard to tell if there is any headset connection change just with the stack trace. We used to have an old bug b/220061515 reporting a similar crash with...
Looking more into the code, it looks like this could be caused by the audio stream is freed when the data callback is fired. In aaudio, the audio stream is...
Created 417232363 to discuss with MTK folks.
AFAIK, the direct PCM on qcom and other OEMs bypass the data processing(data conversion, volume control, etc) on the framework side. But it doesn't bypass the HAL or AoC's data...
BTW, the framework is automatically use direct if it is not PCM. https://cs.android.com/android/platform/superproject/+/android15-qpr2-release:frameworks/av/media/libaudioclient/AudioTrack.cpp;l=482?q=AudioTrack.cpp
Thanks for the explanation! For the USB case, it can be solved by [AudioManager.setPerferredMixerAttributes], which allows to config the mixer in the framework. If it is mixer behavior is bit-perfect,...