CodePudding user response:
A Synchronized Volume Control for your ApplicationCodePudding user response:
Thank god send me the above articles, finish see later still don't quite understand, I now need to implement the function: in a single document I created two buttons on the View, I want to click a button and can capture the system sounds in the larger, click another button, can capture the system sounds in decreases, and don't need to add the slider, the volume value between 0-100 change, click on the button, the volume increased or decreased by 10%CodePudding user response:
http://blog.csdn.net/lqg1999/article/details/4006047CodePudding user response:
Click on the "big" button, sound,
CodePudding user response:
Thank you very much for the help, the moderator in the MSDN GetVolume () and SetVolume () two functions, can take advantage of these two functions to achieve? When using these two functions, I added the dsound. H header file and dsound. Lib, but compile time show: always open include file: 'dsound. H: No to the file or directoryWhy is this? Above is the need to implement the function of the screenshots