[haiku-bugs] Re: [Haiku] #9134: Adjustable stream parameters for HDA driver

  • From: "Barrett" <trac@xxxxxxxxxxxx>
  • Date: Wed, 15 Apr 2015 23:41:02 -0000

#9134: Adjustable stream parameters for HDA driver
---------------------------------+------------------------------
Reporter: Pete | Owner: korli
Type: enhancement | Status: new
Priority: normal | Milestone: R1
Component: Drivers/Audio/HDA | Version: R1/alpha3
Resolution: | Keywords: HDA audio driver
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
---------------------------------+------------------------------

Comment (by Barrett):

I agree with pete that there's need to precisely adjust the buffer size
when the sample rate change. And not only, ideally also the buffer chain
should be fit to this change. This is more important for audio than video,
but things may change considerably doubling or dividing by two this
factor. Also, while it may seems to make things more easy from a user
perspective having "small/balanced" etc. settings isn't helpful in any
way. At certain levels there's some special value that makes the good
balance between latency, quality and system load, and this will change
considerably varying the hardware.

So my opinion is that we should have a configurable buffer size parameter,
and the possibility to set a preferred size of a chain (maybe depending on
the format) should be seriously investigated. If the functionality is
still seen as a surplus for the end user we should consider to add some
"Enable advanced configuration." option with the needed warnings.

--
Ticket URL: <https://dev.haiku-os.org/ticket/9134#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: