Can u help me understand this?

Started by
0 comments, last by demonrealms 20 years, 5 months ago
Hey, I was just looking at Andre Lamoth''s book and noticed he used a macro dealing with the change of volume. Here it is:
#define DSVOLUME_TO_DB(volume) ((DWORD(-30*(100 - volume))))
Can u help me understand this? Whats going on here. Thanks in advance, -Sathenzar
Advertisement
looks like he''s converting "volume" into decibels.

This topic is closed to new replies.

Advertisement