aaudio: apply the buffer size after the stream opens
The buffer capacity passed to the builder is only a request. Some streams can set much higher capacity than requested. If we want to control a sound latency, we must operate with the size of buffer after stream has been created.
For details see https://developer.android.com/ndk/guides/audio/aaudio/aaudio#tuning-buffers
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
You can find the latest release and additional information at: https://www.libsdl.org/
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)