Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralQuestion about displaying a property page Pin
PrashantJ10-Jul-05 20:14
PrashantJ10-Jul-05 20:14 
GeneralAbout building a Windows service Pin
zhaopi10-Jul-05 20:04
zhaopi10-Jul-05 20:04 
GeneralRe: About building a Windows service Pin
zhaopi10-Jul-05 20:07
zhaopi10-Jul-05 20:07 
GeneralRe: About building a Windows service Pin
Blake Miller11-Jul-05 5:02
Blake Miller11-Jul-05 5:02 
General16bit & 32bit Portability issues Pin
Anonymous10-Jul-05 19:25
Anonymous10-Jul-05 19:25 
GeneralRe: 16bit & 32bit Portability issues Pin
David Crow11-Jul-05 3:51
David Crow11-Jul-05 3:51 
GeneralNotification on CPU frequency change in SpeedStep Pin
Vitaly Kashkarov10-Jul-05 19:09
Vitaly Kashkarov10-Jul-05 19:09 
GeneralDirectSound Question Pin
Mark Keeling10-Jul-05 17:58
Mark Keeling10-Jul-05 17:58 
I am having problems getting SetVolume to change the volume of my sound buffers.

When my program starts it scrolls though a database that holds the filename, pan, and volume settings for each sound, loads these sounds in secondary buffers, and then sets the pan and volume for each individual sound. Several sounds will be loaded at once.

Once the sounds are loaded the pan and volume can be changed with slider controls and drop lists. Both of which work correctly. My problem is on program init.

When the program starts, the position of the slider control for the volume gets set to the correct position (0-100% volume), but the volume is always played at 100%. The pan on the other hand always works correctly and the sound is played on the correct left or right speaker.

I think that SetVolume is working however, because if I change the pan without changing the volume slider, the volume changes to what it should have been.

Any ideas?

Mark Keeling
GeneralRe: DirectSound Question Pin
Trollslayer10-Jul-05 22:15
mentorTrollslayer10-Jul-05 22:15 
GeneralRe: DirectSound Question Pin
Mark Keeling12-Jul-05 13:56
Mark Keeling12-Jul-05 13:56 
GeneralRe: How to insert a record into table in the oracle Pin
Christian Graus10-Jul-05 17:35
protectorChristian Graus10-Jul-05 17:35 
QuestionHow to put a button on the main window Pin
shfinfrock10-Jul-05 15:14
shfinfrock10-Jul-05 15:14 
AnswerRe: How to put a button on the main window Pin
Jose Lamas Rios10-Jul-05 16:26
Jose Lamas Rios10-Jul-05 16:26 
Generalsend a GET, POST request to a HTTPS server Pin
surfman1910-Jul-05 10:22
surfman1910-Jul-05 10:22 
GeneralRe: send a GET, POST request to a HTTPS server Pin
Andrew Kirillov10-Jul-05 20:25
Andrew Kirillov10-Jul-05 20:25 
GeneralRe: send a GET, POST request to a HTTPS server Pin
surfman1917-Jul-05 4:55
surfman1917-Jul-05 4:55 
Generalerror code Pin
locoone10-Jul-05 3:07
locoone10-Jul-05 3:07 
GeneralRe: error code Pin
Gary R. Wheeler10-Jul-05 3:17
Gary R. Wheeler10-Jul-05 3:17 
GeneralRe: error code Pin
Alexander M.,10-Jul-05 3:21
Alexander M.,10-Jul-05 3:21 
GeneralException Handling. Pin
jerry1211a10-Jul-05 3:06
jerry1211a10-Jul-05 3:06 
GeneralRe: Exception Handling. Pin
jerry1211a10-Jul-05 3:10
jerry1211a10-Jul-05 3:10 
GeneralRe: Exception Handling. Pin
S. Senthil Kumar10-Jul-05 3:43
S. Senthil Kumar10-Jul-05 3:43 
GeneralRe: Exception Handling. Pin
jerry1211a10-Jul-05 3:59
jerry1211a10-Jul-05 3:59 
GeneralRe: Exception Handling. Pin
Nemanja Trifunovic10-Jul-05 16:44
Nemanja Trifunovic10-Jul-05 16:44 
Generaltiling dialogs(urgent) Pin
sayup10-Jul-05 1:08
sayup10-Jul-05 1:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.