Hi Francois

The component I mentioned http://www.fi.muni.cz/~xkovalc/zip/amixer.zip 
does support selecting the soundcard device.  I use it in my application 
with a combobox to select the soundcard, and then anoher combobox to 
select a mixer to mute or unmute and/or adjust the volume slider.

for Index := 0 to AudioMixer.NumberOfLine-1 do
begin
  AudioMixer.MixerID := Index;
  DeviceSelection.Items.Add(AudioMixer.ProductName);
end;

To change the selected soundcard, just set AudioMixer.MixerID.  0 = 
first soundcard, 1 = 2nd soundcard, etc

Regards,
Ross.

----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Wednesday, June 15, 2005 7:06 PM
Subject: Re: Selecting default sound device


Thanks for your anzswer.
This component is related to the sund mixer which is a totaly different 
beats.
I want to change the default devices. Take control panel, sound a 
multimedia, select audio tab.
You'll see what I mean. You probably have only one sound card, but my 
system has 3 sound cards ! My
application need to select the correct one before running another 
application which only "sees" the
default device. I don't want to ask the user to manually change the 
default sound card.

--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

----- Original Message ----- 
From: "Ross Levis" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Tuesday, June 14, 2005 1:11 PM
Subject: Re: Selecting default sound device


> I use this free component, which is very good and easy to use, once 
> you
> get use to it.
> http://www.fi.muni.cz/~xkovalc/zip/amixer.zip
>
> Regards,
> Ross Levis
> http://www.stationplaylist.com


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to