Audiomixer Volume Control

Please discuss general Delphi programming topics here.

Audiomixer Volume Control

Postby drama22 » October 11th, 2014, 7:19 pm

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: 3
Joined: June 21st, 2014, 8:08 pm

Re: Audiomixer Volume Control

Postby dec » December 30th, 2014, 12:08 am

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
Senior Member
 
Posts: 56
Joined: July 17th, 2011, 12:33 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron