[hatari-devel] STE sound breakage with lower sound frequencies
Eero Tamminen
oak at helsinkinet.fi
Tue Feb 15 22:09:59 CET 2011
Hi,
On tiistai 15 helmikuu 2011, Laurent Sallafranque wrote:
> Le 15/02/2011 20:37, Nicolas Pomarède a écrit :
> > Le 15/02/2011 19:18, Eero Tamminen a écrit :
> >>> Or maybe we could call DmaSnd_Init_Bass_and_Treble_Tables in
> >>> Audio_SetOutputAudioFreq() in all cases ? (even if bSoundWorking is
> >>> false). This would make a very small modification and calling
> >>> Audio_SetOutputAudioFreq even if sound is really off should not be a
> >>> real problem.
> >>>
> >>> WDYT ?
> >>
> >> Fine by me, audio stuff is yours. :-)
> >
> > I didn't write that much of the code in audio.c :)
> > Anyway, patch committed.
>
> I've done a change to what was committed by Nicolas.
>
> I've included call to DMA_compute_filter only for STE/TT computers
>
> For Falcon, I've added a new function : Crossbar_Compute_Ratio. Like
> this, if one change the sound frequency, sound still renders correctly.
>
> Please verify I haven't broken anything in ST/STE/TT mode.
Seems fine for me. And indeed, ST mode doesn't have crossbar nor dma:
http://hg.berlios.de/repos/hatari/rev/92a98c558c21
:-)
- Eero
More information about the hatari-devel
mailing list