[haiku-bugs] Re: [Haiku] #1351: aliasing is heared with playback 44.1kHz files on 48kHz system sample rate

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sat, 09 Oct 2010 11:18:06 -0000

#1351: aliasing is heared with playback 44.1kHz files on 48kHz system sample 
rate
-----------------------------+----------------------------------------------
  Reporter:  nutela          |         Owner:  pulkomandy   
      Type:  bug             |        Status:  assigned     
  Priority:  normal          |     Milestone:  R1           
 Component:  Kits/Media Kit  |       Version:  R1/pre-alpha1
Resolution:                  |      Keywords:               
Blocked By:                  |   Has a Patch:  0            
  Platform:  x86             |      Blocking:               
-----------------------------+----------------------------------------------

Comment (by pulkomandy):

 Stippi : yes, my algorithm is 'broken'. The problem is there is no passing
 of values from a buffer to the next one.
  * The resampling factor is recomputed for each buffer that comes in (and
 they may have different sizes)
  * The latest value and float sample-position from the previous
 computation are not kept, so it is not possible to compute the first (or
 last) sample of each buffer properly

 It's nothing impossible to solve, but it needs some thinking and makes the
 code slightly more complicated.

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

Other related posts: