Replies: 3 comments 1 reply
-
Which device are you on? Can you try reproing the issue with OboeTester? |
Beta Was this translation helpful? Give feedback.
-
On some devices, input and output have different optimal rates! Ie output may run optimally at 48000 and input at 44100! Try setting everything UNSPECIFIED except for PerformanceMode and callback. The AAudio should find the optimal settings. What device are you using? Some devices do not support LowLatency! How are you detecting not having LowLatency? Are you calling getPerformanceMode()? Or just hearing high latency? |
Beta Was this translation helpful? Give feedback.
-
Thank you @philburk, I've changed the rates to unspecified but I'm still getting high latency. Also, I cannot download OboeTester @robertwu1 mentioned since I'm on a Android TV device - I'm actually using NVIDIA SHIELD TV Pro and I'm trying to get the input from the USB port it has. I checked I used Chromecast 4k with Google TV as well, with a usb hub, and the input there can get in with performance mode - although the latency is still over 150ms, it is way better than this NVIDIA SHIELD TV Pro, I guess it's just a device issue. |
Beta Was this translation helpful? Give feedback.
-
In the Q&A part
I requested a stream with PerformanceMode::LowLatency, but didn't get it. Why not?
It mentioned that there are several possibilities -
I'm debugging on the reason of me not getting low latency mode, and I've set callback(met reqirement 1), set default sample rate here(met requirement 2), I'm also using android 10(met 3, 7), and using mono channel(should be good for 5)
It can be still possible that 4, 6 are causing the issue, the question is how can I know if my device support low latency or not? Also is there a way to query if maximum number of LowLatency streams has been reached or not?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions