Controlling Sound?
-
Hello dear friend, How can we control the system sound. I want to control sound from my application. I want following things to handle from the application 1)Mute/Unmute 2)Play/Pause 3)Adjustring the system volume. How can I do these things? Sample code would be appreciated. Thanks in Advance.
ritz1234
-
Hello dear friend, How can we control the system sound. I want to control sound from my application. I want following things to handle from the application 1)Mute/Unmute 2)Play/Pause 3)Adjustring the system volume. How can I do these things? Sample code would be appreciated. Thanks in Advance.
ritz1234
See Audio Mixer Functions Demo[^].
-
Thanks for the help Hamid :rose: :rose: :rose: I've checked the exe's for mute and volume control and it works.I'll integrate it with my application. But what about the play/pause? Thanks very much.
ritz1234
Play and puase of other programs or your program?
-
Play and puase of other programs or your program?
-
Hello dear friend, How can we control the system sound. I want to control sound from my application. I want following things to handle from the application 1)Mute/Unmute 2)Play/Pause 3)Adjustring the system volume. How can I do these things? Sample code would be appreciated. Thanks in Advance.
ritz1234
ritz1234 wrote:
3)Adjustring the system volume. How can I do these things?
Here is one example.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
As in the windows xp media player we can play/pause the song this what I want should be handled from the application.
ritz1234
play/pause is for devices, not for sound. For those, maybe look into Waveform Audio[^], MCI[^], or DirectX Audio[^]. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: