[haiku-commits] Re: r40327 - haiku/trunk/src/add-ons/kernel/drivers/audio/ac97/sis7018

  • From: Jérôme Duval <korli@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 31 Jan 2011 08:43:31 +0100

2011/1/30  <zharik@xxxxxx>:
> -       fInputRates = B_SR_48000;
> -       fInputFormats = B_FMT_16BIT;
> -       fOutputFormats = B_FMT_16BIT;
> +       if(fOutputRates == 0) {
> +               ERROR("Output rates are not guessed. Force to 48 kHz.\n");
> +               fOutputRates = B_SR_48000;
> +       }

A space is missing after the if.

Bye,
Jérôme

Other related posts: