Sign in to follow this  

waveOutSetVolume on the Pantech Duo C810

Recommended Posts

I'm trying to change the volume for MIDI audio on the Pantech C810. However, no matter what I set this value to, it plays at the loudest volume. If I set it to 0 it still plays loudly, but it gets choppy.

Anyone experienced the same problem?

Share this post

Link to post
Share on other sites

I got it working. I was using SndPlayAsync(hSound, 1); to play my sound when I should have been using SndPlayAsync(hSound, 0); Then I just set the volume to

0x00000FFF | ( 1 / << 12)

0x00000FFF | ( 2 / << 12)


0x00000FFF | ( 15 / << 12)

and it gives me a good range of volume levels.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

MoDaCo is part of the, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.