Multimedia Delphi

Title: Change the Volume
Question: How can I change the volume?
Answer:
Put a TrackBar on the form, change the Max value to '15' and in the OnChage event of the trackbar do:
procedure TForm1.TrackBar1Change(Sender: TObject);
var
Count, i: integer;
begin
Count := waveOutGetNumDevs;
for i := 0 to Count do
begin
waveOutSetVolume(i,longint(TrackBar1.Position*4369)*65536+longint(TrackBar1.Position*4369));
end;
end;
and play with the trackbar...
GNDELPHI