问题
I'm a beginner and making an internet radio player and I want to control the volume with my own TrackBar
. How is that possible? I haven't found any solutions to do this.
回答1:
Take a look at NAudio. this is a brilliant API for implementing audio based applications in .NET
http://naudio.codeplex.com/
Also consider this
how to Control "Windows XP Volume Control" with VC#
This might also help. This explains how to hook the Win32 API Multimedia library (winmm.dll) to control system volume
http://www.dreamincode.net/forums/topic/45693-controlling-sound-volume-in-c%23/
来源:https://stackoverflow.com/questions/13232085/how-can-i-control-system-sound-volume-with-a-trackbar