Fix SPU mvol value

This commit is contained in:
ABelliqueux 2021-07-25 10:15:43 +02:00
parent 43bcaa9d43
commit f0472cfce4

View File

@ -63,10 +63,12 @@ int main(void)
SpuInit(); SpuInit();
// Set master & CD volume to max // Set master & CD volume to max
spuSettings.mask = (SPU_COMMON_MVOLL | SPU_COMMON_MVOLR | SPU_COMMON_CDVOLL | SPU_COMMON_CDVOLR | SPU_COMMON_CDMIX ); spuSettings.mask = (SPU_COMMON_MVOLL | SPU_COMMON_MVOLR | SPU_COMMON_CDVOLL | SPU_COMMON_CDVOLR | SPU_COMMON_CDMIX );
spuSettings.mvol.left = 0x6000; // Master volume should be in range 0x0000 - 0x3fff
spuSettings.mvol.right = 0x6000; spuSettings.mvol.left = 0x3fff;
spuSettings.cd.volume.left = 0x6000; spuSettings.mvol.right = 0x3fff;
spuSettings.cd.volume.right = 0x6000; // Cd volume should be in range 0x0000 - 0x7fff
spuSettings.cd.volume.left = 0x7fff;
spuSettings.cd.volume.right = 0x7fff;
// Enable CD input ON // Enable CD input ON
spuSettings.cd.mix = SPU_ON; spuSettings.cd.mix = SPU_ON;
// Apply settings // Apply settings