Audiomixer Volume Control

Please discuss general Delphi programming topics here.

Audiomixer Volume Control

hi i use Tixtrackbar to control on volume level i do somthing like this

Code: Select all
procedure Tvolfrm.VolumeChange(Sender: TObject);var  i: Integer;begin  i := TrackBarToValue(Volume.Position,Volume.Max,Volume.Min);  if Not volumeClose then  try//any thing  except  end;end;

but the level never changes any hint ?
drama22
Member

Posts: 3
Joined: June 21st, 2014, 8:08 pm

Re: Audiomixer Volume Control

Hello,

I am not sure if what you wanted is to change the volume, but, if so, are you sure the AudioMixer can do it in the way you expect? Personally I use the TAudioVolume Delphi component by Silhwan Hyun and the work like expected (change the system master volume level) at least in Windows 10, 8.1, 8 and 7. Maybe you want to take a look at this component.
dec
Senior Member

Posts: 53
Joined: July 17th, 2011, 12:33 am