[haiku-commits] Re: r38488 - haiku/trunk/src/add-ons/media/media-add-ons/mixer

  • From: Jérôme Duval <korli@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 1 Sep 2010 11:49:42 +0200

2010/9/1  <superstippi@xxxxxx>:
> +               switch (fCore->Settings()->ResamplingAlgorithm()) {
> +                       case 2:
> +                               fResampler[i] = new Interpolate(
> +                                       fInput.format.u.raw_audio.format,
> +                                       
> media_raw_audio_format::B_AUDIO_FLOAT);
> +                               break;
> +                       default:
> +                               fResampler[i] = new Resampler(
> +                                       fInput.format.u.raw_audio.format,
> +                                       
> media_raw_audio_format::B_AUDIO_FLOAT);
> +               }
> +       }
>  }

I know you're refactoring, but could you try to define what this 2 is
somewhere ?
Thanks.

Bye,
Jérôme

Other related posts: