Board index » delphi » Windows Mixer

Windows Mixer


2004-11-19 11:36:32 PM
delphi29
Hello,
I need some help.
I want to open the windows audio mixer from my aplication.
Does anybody know how to do that?
Thanks
Alain
 
 

Re:Windows Mixer

"Alain N.S" <XXXX@XXXXX.COM>writes:
Quote
Hello,

I need some help.
I want to open the windows audio mixer from my aplication.
Does anybody know how to do that?

Thanks
Alain


This code line:
ShellExecute(Handle, 'open', 'sndvol32',nil,nil,SW_SHOWNORMAL);
should work. Be sure to add ShellApi to the uses clause of your unit.
 

Re:Windows Mixer

Thank you!! Mr. Michael.
It works!
Can you tell me how to get control of the master volume??
Thanks
Alain
----- Original Message -----
From: "Michael Madsen" <XXXX@XXXXX.COM>
Newsgroups: borland.public.delphi.multimedia
Sent: Saturday, November 20, 2004 02:23
Subject: Re: Windows Mixer
Quote

"Alain N.S" <XXXX@XXXXX.COM>writes:
>Hello,
>
>I need some help.
>I want to open the windows audio mixer from my aplication.
>Does anybody know how to do that?
>
>Thanks
>Alain
>
>

This code line:

ShellExecute(Handle, 'open', 'sndvol32',nil,nil,SW_SHOWNORMAL);

should work. Be sure to add ShellApi to the uses clause of your unit.
 

Re:Windows Mixer

"Alain N.S"
Quote
Can you tell me how to get control of the master volume??
home.t-online.de/home/Robert.Rossmair/
lg,
Markus - gronoworx.dyndns.org
 

Re:Windows Mixer

Hello..,
Can anybody help me?
I need to open windows master volome mixer and recording mixer from my
application.
How do I do that?
What code should I write?
Alain
 

Re:Windows Mixer

Alain,
You could use AudioMixer component which has very good demo project in it
where you can see how everything works!
If you can't find the component, inform me and I will put it somewhere for
you!
{-daniel cc
"Alain NS" <XXXX@XXXXX.COM>writes
Quote
Hello..,

Can anybody help me?

I need to open windows master volome mixer and recording mixer from my
application.
How do I do that?
What code should I write?

Alain


 

Re:Windows Mixer

Hello,
Daniel, can u tell me where I can download the AudioMixer?
Actually I have been able to launch the control panel with this code:
WinExec(PChar('rundll32.exe shell32.dll,' +
'Control_RunDLL ' + 'mmsys.cpl sounds'), SW_SHOWNORMAL);
But this is only for the sound control panel (properties for sound on window
start, window close, etc) but not the windows mixer.
What I need is how to launch windows master volome mixer and recording
mixer.
Any body know??
Alain.
"daniel cc" <XXXX@XXXXX.COM>writes
Quote
Alain,

You could use AudioMixer component which has very good demo project in it
where you can see how everything works!

If you can't find the component, inform me and I will put it somewhere
for
you!

{-daniel cc

"Alain NS" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>Hello..,
>
>Can anybody help me?
>
>I need to open windows master volome mixer and recording mixer from my
>application.
>How do I do that?
>What code should I write?
>
>Alain
>
>


 

Re:Windows Mixer

Alain NS writes:
Quote
Actually I have been able to launch the control panel with this code:
WinExec(PChar('rundll32.exe shell32.dll,' +
'Control_RunDLL ' + 'mmsys.cpl sounds'), SW_SHOWNORMAL);

But this is only for the sound control panel (properties for sound on
window start, window close, etc) but not the windows mixer.
What I need is how to launch windows master volome mixer and recording
mixer. Any body know??
Try running sndvol32.exe with no arguments. It should be on all Windows XP PCs
and it should be on the path, so it doesn't need a fully qualified filename
specifying where it is. So, you could use :-
ShellExecute(NULL,"open","sndvol32.exe",NULL,NULL,SW_SHOW);
--
?
Mark Jacobs
DK Computing
www.dkcomputing.co.uk
 

Re:Windows Mixer

Alain,
If you still need the AudioMixer, please inform and I will drop it somewhere
for you!
{-daniel cc
"Alain NS" <XXXX@XXXXX.COM>writes
Quote
Hello..,

Can anybody help me?

I need to open windows master volome mixer and recording mixer from my
application.
How do I do that?
What code should I write?

Alain


 

Re:Windows Mixer

Alain,
You can get the AudioMixer component from here!
"rapidshare.de/files/22720027/AudioMixer_Delphi_7.zip.html""
Select "Free" from the download type and insert the code it gives!
{-daniel cc
"Alain NS" <XXXX@XXXXX.COM>writes
Quote
Hello..,

Can anybody help me?

I need to open windows master volome mixer and recording mixer from my
application.
How do I do that?
What code should I write?

Alain


 

Re:Windows Mixer

Thanks
Alain
"daniel cc" <XXXX@XXXXX.COM>writes
Quote
Alain,

You can get the AudioMixer component from here!
"rapidshare.de/files/22720027/AudioMixer_Delphi_7.zip.html""

Select "Free" from the download type and insert the code it gives!

{-daniel cc


"Alain NS" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>Hello..,
>
>Can anybody help me?
>
>I need to open windows master volome mixer and recording mixer from my
>application.
>How do I do that?
>What code should I write?
>
>Alain
>
>


 

Re:Windows Mixer

"daniel cc" <XXXX@XXXXX.COM>writes
Quote
Alain,

You can get the AudioMixer component from here!
"rapidshare.de/files/22720027/AudioMixer_Delphi_7.zip.html""

Select "Free" from the download type and insert the code it gives!

{-daniel cc

I just tried the download link you provided and got an error, something
about the file being deleted by the uploader!
cheers,
Paul.
 

Re:Windows Mixer

Paul Nicholls writes:
Quote
I just tried the download link you provided and got an error, something
about the file being deleted by the uploader!
cheers,
Paul.


www.fi.muni.cz/~xkovalc/zip/amixer.zip
This is the author's own website and I have verified the link.