Re: [EXT] Re: [PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-10 Thread Nicolin Chen
On Wed, Apr 10, 2019 at 10:34:05AM +, S.j. Wang wrote: > > On Wed, Apr 10, 2019 at 08:26:59AM +, S.j. Wang wrote: > > > > Is it possible to update the table? It'd be way quicker to use > > > > lookup table than real-time calculation all the time. I believe you > > > > can simply calculate

RE: [EXT] Re: [PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-10 Thread S.j. Wang
Hi > > > On Wed, Apr 10, 2019 at 08:26:59AM +, S.j. Wang wrote: > > > Is it possible to update the table? It'd be way quicker to use > > > lookup table than real-time calculation all the time. I believe you > > > can simply calculate all the values out for 12KHz and 24KHz since > > > you

Re: [EXT] Re: [PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-10 Thread Nicolin Chen
On Wed, Apr 10, 2019 at 08:26:59AM +, S.j. Wang wrote: > > Is it possible to update the table? It'd be way quicker to use lookup table > > than real-time calculation all the time. I believe you can simply calculate > > all > > the values out for 12KHz and 24KHz since you have the function. If

RE: [EXT] Re: [PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-10 Thread S.j. Wang
ct: Re: [EXT] Re: [PATCH] ASoC: fsl_asrc: replace the process_option > table with function > > WARNING: This email was created outside of NXP. DO NOT CLICK links or > attachments unless you recognize the sender and know the content is safe. > > > > On Wed, Apr 10, 2019 at 07

Re: [EXT] Re: [PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-10 Thread Nicolin Chen
On Wed, Apr 10, 2019 at 07:22:31AM +, S.j. Wang wrote: > > The table was copied directly from the Reference Manual. We also have > > listed all supported input and output sample rates just right behind that > > table. > > If there're missing rates, we probably should update those two lists

RE: [EXT] Re: [PATCH] ASoC: fsl_asrc: replace the process_option table with function

2019-04-10 Thread S.j. Wang
Hi > > On Wed, Apr 10, 2019 at 03:15:26AM +, S.j. Wang wrote: > > The table is not flexible if supported sample rate is not in the > > table, so use a function to replace it. > > Could you please elaborate a bit the special use case here? > > The table was copied directly from the