[hatari-devel] Filters utilized more effectively

Nicolas Pomarède npomarede at corp.free.fr
Sun May 15 12:43:07 CEST 2011


Le 01/05/2011 23:29, Nicolas Pomarède a écrit :
> Le 29/04/2011 07:49, David Savinkoff a écrit :
>> Hi All,
>>
>> Here is a new patch for LMC1992 filtering:
>>
>> The IIR filters for bass/treble now control the Volume.
>>
>> The anti-alias filters are the best that I can do for
>> the current DMA sound re-sampling method.
>>
>> Anti-alias filtering is not performed at the 50066 Hz
>> sampling rate; better sound and performance.
>>
>> The result is better code and better sound without
>> added compromise, complexity, or computation.
>>
>> Sincerely,
>> David Savinkoff
>>
>
> Hello
>
> thanks for your patch ; I'm in the middle of fixing a few things in
> dmasnd.c, so I can't commit your patch immediatly but I will do it asap
> in the next few days once I fix the current bug I'm working on.
>
> Regards
>
> Nicolas

Hello

I just applied your patch to the main source tree. Thanks again for it.

Just a small question regarding :

+	/* Anti-alias filter is not required when nAudioFrequency == 50066 Hz */
+	if (nAudioFrequency>50000 && nAudioFrequency<50100)

Why don't you just use 	"if (nAudioFrequency==50066)" ?


Nicolas






More information about the hatari-devel mailing list