[hatari-devel] Filters utilized more effectively
Nicolas Pomarède
npomarede at corp.free.fr
Wed May 18 00:30:25 CEST 2011
Le 16/05/2011 00:08, David Savinkoff a écrit :
>> 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)" ?
>>
> - A real Atari will not be exactly 50066 Hz
> *(50066 is probably only an accepted nominal value).
I don't understand what you mean ; a real STE is 50066 Hz (that one of
the only 4 possible dma audio output frequencies).
I don't see how an STE could have a 50000 Hz dma output freq for example ?
> - Someone may wish to experiment with 50000.
> - 50066 is a prime number multiplied by 2.
>
> BTW, options.c limits the sample frequency from 6000 to 50066 Hz
> The enclosed testing patch references this (minor testing feature).
The idea is to give the user a choice of frequencies on his computer
that are compatible with an STF/STE. Of course, we could allow 50200,
but as said above, I don't understand how it would match a real STE ?
Nicolas
More information about the hatari-devel
mailing list