Fix SPU mvol value
This commit is contained in:
parent
43bcaa9d43
commit
f0472cfce4
@ -62,11 +62,13 @@ int main(void)
|
||||
// Init Spu
|
||||
SpuInit();
|
||||
// Set master & CD volume to max
|
||||
spuSettings.mask = (SPU_COMMON_MVOLL | SPU_COMMON_MVOLR | SPU_COMMON_CDVOLL | SPU_COMMON_CDVOLR | SPU_COMMON_CDMIX);
|
||||
spuSettings.mvol.left = 0x6000;
|
||||
spuSettings.mvol.right = 0x6000;
|
||||
spuSettings.cd.volume.left = 0x6000;
|
||||
spuSettings.cd.volume.right = 0x6000;
|
||||
spuSettings.mask = (SPU_COMMON_MVOLL | SPU_COMMON_MVOLR | SPU_COMMON_CDVOLL | SPU_COMMON_CDVOLR | SPU_COMMON_CDMIX );
|
||||
// Master volume should be in range 0x0000 - 0x3fff
|
||||
spuSettings.mvol.left = 0x3fff;
|
||||
spuSettings.mvol.right = 0x3fff;
|
||||
// Cd volume should be in range 0x0000 - 0x7fff
|
||||
spuSettings.cd.volume.left = 0x7fff;
|
||||
spuSettings.cd.volume.right = 0x7fff;
|
||||
// Enable CD input ON
|
||||
spuSettings.cd.mix = SPU_ON;
|
||||
// Apply settings
|
||||
|
Loading…
Reference in New Issue
Block a user