25.03.2015 06:07, Raymond Yau wrote: > > > > so far, this test only includes rewind test, it works as below: > > let lfe-filter process 2 blocks mono lfe channel audio samples, the > > sample format is PA_SAMPLE_S16LE, save the processed data to the temp > > buffer, then rewind the lfe-filter back 1 block and 1.5 blocks > > respectively, reprocess the audio samples from the rewind position, > > then comparing the output data with previously saved data. > > > > What happen when the cause of rewind is the user changing the volume of > the speaker or subwoofer (hardware and software volume) ? Some rewind will happen. It will not generally be aligned to the memblock boundary. I.e. a thing will happen that this patch tests. -- Alexander E. Patrakov