Assigned
Status Update
Comments
vi...@google.com <vi...@google.com> #2
In order to diagnose this I think we will need more information.
Can you clarify if this happens for a new Native C++ project without any changes to it? Would it be possible for you to share an Android Studio project where you see this issue?
Can you please also share the log files as requested in the instructions in
ni...@gmail.com <ni...@gmail.com> #3
Comment has been deleted.
ni...@gmail.com <ni...@gmail.com> #4
This report was intended to be a feature request. The current limit at 192 kHz seems to be on purpose, refer to: https://cs.android.com/android/platform/superproject/main/+/main:system/media/audio/include/system/audio.h;l=2519;drc=0581429a32534bf04f92e3628343acd7c2b0bc4d
This is a feature request to increase said limit to 768000. Do you nontheless need all those info?
This is a feature request to increase said limit to 768000. Do you nontheless need all those info?
vi...@google.com <vi...@google.com> #5
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
Description
android.me...AudioTrack com.example E getMinBufferSize(): 384000 Hz is not a supported sample rate.
Adding 384kHz and 768kHz support to AudioTrack would be useful, as it can avoid double resampling by me including a downsampler for 384kHz->192kHz in app code and audio framework resampling again from 192kHz to whatever the native sample rate is on the device. Additionally, this would be useful because some USB DACs support 384kHz playback and this would be a first step towards support for that.