[haiku-bugs] Re: [Haiku] #9438: Mixer not resampling very well

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Tue, 09 Feb 2016 07:27:40 -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 Pete):

 Replying to [comment:13 pulkomandy]:

Almost certainly not, because not a single line of code in the mixer has
 changed since my fixes.
My guess is your problem is yet something else than what I fixed.

 Dunh...  Well, do you not get the "ghost sweeps"?  If you use (the
 default?) 48000 sampling, and play sweep44100.wav (in a reasonable audio
 system -- it's not that prominent through my laptop speaker, though still
 audible), do you not hear a lot of crackles and fainter sweeps in the
 background (that actually go up ''and'' down)?
 And as before, if I reset sample rate to 44100, that file plays cleanly,
 but sweep48000.wav has the ghosts.

 I made sure I had an absolutely standard hrev49993.  I do have the custom
 HDA that lets me adjust buffer size, but I removed that and used the
 packaged one.

 I assume I'm correct in assuming that everything ''after'' the mixer must
 be at the system sample-rate?  So it can't be an audio hardware problem.

 Let's see if we can track this down, because it definitely makes sample-
 rate conversion unusable.

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

Other related posts: