Audiomixer Volume Control

Please discuss general Delphi programming topics here.

Audiomixer Volume Control

Postby drama22 » 11/10/14 19:19

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
Member
 
Posts: 2
Joined: 21/06/14 20:08

Re: Audiomixer Volume Control

Postby dec » 30/12/14 00:08

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
Junior Member
Junior Member
 
Posts: 48
Joined: 17/07/11 00:33


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 2 guests