Merge pull request #1164 from RadWolfie/master

Temp disable debug message from DSound's volume
This commit is contained in:
RadWolfie 2018-05-12 21:26:18 -05:00 committed by GitHub
commit e1d8733976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1709,8 +1709,10 @@ inline HRESULT HybridDirectSoundBuffer_SetVolume(
*Xb_lpVolume = lVolume; *Xb_lpVolume = lVolume;
} }
#if 0 // TODO: Restore it once DSound work update comes up
// For time being, this log is kept in case of something changed somewhere making a wrong input into the API. // For time being, this log is kept in case of something changed somewhere making a wrong input into the API.
printf("DEBUG: SetVolume | lVolume = %ld | volumeMixbin = %ld | dwHeadroom = %8u\n", lVolume, Xb_volumeMixbin, Xb_dwHeadroom); printf("DEBUG: SetVolume | lVolume = %ld | volumeMixbin = %ld | dwHeadroom = %8u\n", lVolume, Xb_volumeMixbin, Xb_dwHeadroom);
#endif
lVolume += Xb_volumeMixbin - Xb_dwHeadroom; lVolume += Xb_volumeMixbin - Xb_dwHeadroom;