[haiku-bugs] Re: [Haiku] #9438: Mixer not resampling very well
- From: "jua" <trac@xxxxxxxxxxxx>
- Date: Wed, 10 Feb 2016 00:03:48 -0000
#9438: Mixer not resampling very well
-----------------------------------+----------------------------
Reporter: Pete | Owner: nobody
Type: bug | Status: reopened
Priority: normal | Milestone: R1
Component: Add-Ons/Media/Mixer | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking: 9704
Has a Patch: 0 | Platform: All
-----------------------------------+----------------------------
Comment (by jua):
So, my interpretation is that the mixer should do it's internal
processing representing everything in floating point audio.
Reading deep into the BeBook as if it was an antique tome of perfect
knowledge and interpreting it to infer implementation details of BeOS
probably isn't all that useful. I very much like the BeBook and it
contains lots of relevant information... but in the end we should strive
to do whatever is best, regardless of how things worked in BeOS. The
internals of the mixer node are not relevant in terms of API or even
binary compatibility, that's what encapsulation is all about after all.
Doing all resampling calculations in floating point is reasonable, given
today's CPUs and the fact that resampling is an inherently lossy process
anyway. However, resampling is not always necessary, and when it isn't, it
must still be possible to pass bit-exact streams through the system mixer
node without any changes occuring, that means no int->float->int
conversion (which is, again, a lossy process) anywhere... otherwise,
people who care a lot about audio quality would be unhappy :-)
--
Ticket URL: <
https://dev.haiku-os.org/ticket/9438#comment:17>
Haiku <
https://dev.haiku-os.org>
Haiku - the operating system.
Other related posts: