W/AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by server 采样频率不一致,本地硬件的采样频率查询方式: AudioManageraudioManager=(AudioManager)getSystemService(Context.AUDIO_SERVICE);StringsampleRate=audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_SAMPLE_RATE);StringPROPERTY_OUTPUT_FRAMES_PER_BUFFER=audioManager....
采样频率不一致,本地硬件的采样频率查询方式:https://source.android.com/devices/audio/latency/design 问题发现是在使用小米k30测试游戏的时候,会有些卡,一直以为是逻辑的问题,没想到竟然是音效的问题。我查了 一下采样率也是不对的。
the only hint is that flag in the issue title, reading around it seems to be related to the low level client/server audio protocol mismatching in the communication (i.e. wrong sampling rate, checked it with the sdk preferences tool, nothing wrong) i've also followed some path due to the...