Results 19 comments of jiabin

> Regarding setPreferredMixerAttributes, I already have experimented with it before and I am very happy about this feature, I'm not yet sure if I can ship it in production across...

AFAIK, it is available from the JAVA. But seems not yet available on AAudio. That is something in our roadmap to add it in the future.

> After the discussion in https://github.com/google/oboe/issues/2190 I was thinking about setPreferredMixerAttributes, and I was wondering why only USB devices are supported. Because it is originally designed for hifi mix port,...

@nift4, thanks for the report and great analysis! I think it is true that vendor may call setParameters to change the lower layer configuration. @robertwu1 , please check if onNewIAudioTrack...

> Hence, to pick the closest match, I create an AAudio stream, check if hardware sample rate / format / channel count match what is requested, close the stream again...

> For example, on a Pixel 7a, there are no profiles on the Speaker device at all. This indicates the speaker access arbitrary configuration and it replies on the framework...

> I will also note down that low latency mmap doesn't help for quality, I wasn't aware of that fact. For MMAP, it is more important to get low latency...

AFAIK, there is not a `setPreferredMicrophoneDirection` in oboe as the API is only in JAVA but not native. An alternative way for selecting microphone is to use `setDeviceId` set microphone...