[haiku] Re: HDA audio driver - more testing, possible patch?

Hi Cyan,

thanks a lot for these comprehensive findings! Your email obviously 
contains a few fixes that can go directly into the hda driver.

The only other problem is that you tested on BeOS R5. That ruled out a few 
possible sources of problems, but it makes it clear why you thought the 
latency could be lowered. On Haiku, if the system is stressed enough, the 
buffer duration is actually still not long enough. Ingo is currently hard 
at work to write "whole system" analysis tools, and these problems will 
eventually be tackled. For the time being, I considered submitting a patch 
that will double the buffer durations. However, we could wrap that in an 
#ifdef __HAIKU__... :-)

BTW, your findings with the input/output rates being locked to each other 
could also be a problem in the multi-audio node.

Finally, I have a pending patch for implementing a bilinear rate converter 
in the system mixer. For some reason, it doesn't seem to work at all yet, 
and I forgot about working on it for a while. I should pick that up again...

Maybe it's an option to apply your change to force the driver to 44100 for 
the time being. I can imagine that it would cover up a pretty wide range of 
Haiku use cases.

Best regards,
-Stephan

Other related posts: