You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Stream::buffer_size() and improve AAudio buffer configuration
Add buffer_size() method to Stream trait that returns the number of
frames passed to each data callback invocation (actual size or upper
limit depending on platform).
AAudio improvements:
- BufferSize::Default now explicitly configures using optimal burst size
from AudioManager, following Android low-latency audio best practices
- buffer_size() query falls back to burst size if frames_per_data_callback
was not explicitly set
- Refactored buffer configuration to eliminate code duplication
Addresses #1042
Relates to #964, #942
0 commit comments