[hatari-devel] STE sound breakage with lower sound frequencies

David Savinkoff dsavnkff at telus.net
Sun Feb 13 22:57:40 CET 2011


Hi,

Referring to dmaSnd.c:

void DmaSnd_Reset(bool bCold)
{
	nDmaSoundControl = 0;

	if (bCold)
	{
		dma.soundMode = 3;
		microwire.masterVolume = 7;
		microwire.leftVolume = 655;
		microwire.rightVolume = 655;
		microwire.mixing = 0;
		microwire.bass = 6;
		microwire.treble = 6;
	}

	/* Initialise microwire LMC1992 IIR filter parameters */
	DmaSnd_Init_Bass_and_Treble_Tables();

	microwire.mwTransferSteps = 0;
}

DmaSnd_Init_Bass_and_Treble_Tables(); may need to be called
(for resetting purposes) in a more fundamental place instead of
DmaSnd_Reset(bool bCold);

This would explain wacky initialization at less than 22050KHz.

David



More information about the hatari-devel mailing list