Re: [PATCH V4 3/3] ASoC: fsl_asrc: Unify the supported input and output rate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 20, 2019 at 07:23:59AM +0000, S.j. Wang wrote:
> > >       /* Validate input and output sample rates */
> > > -     for (in = 0; in < ARRAY_SIZE(supported_input_rate); in++)
> > > -             if (inrate == supported_input_rate[in])
> > > +     for (in = 0; in < ARRAY_SIZE(supported_asrc_rate); in++)
> > > +             if (inrate == supported_asrc_rate[in])
> > >                       break;
> > 
> > Not sure if we still need it upon having hw_constraint. Maybe m2m needs it?

> Yes.

OK. Then we can leave it there. Thanks
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux