471,591 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,591 software developers and data experts.

Program to change the Sound Recording Source

Hi all,

I would like to write DOS program to change the MS Windows Sound
Recording source. When I run it with the parameter, it will change the
recording source as follow:

C:\> abc.exe microphone <- the Sound recording source change to
Microphone
C:\> abc.exe line <- the sound recording source change to Line-IN

Does anyone know how to do so? Thanks.

Regards,
Dovelet

Nov 9 '05 #1
6 2357
Dovelet wrote:
I would like to write DOS program to change the MS Windows Sound [details snipped] Does anyone know how to do so? Thanks.


Yes. Somebody in a DOS or MSWindows related news group knows how
to do that. Check in newsgroups with DOS or MS or Windows in their
names. Here we don't know of such things, only standard C++ issues.
Socks

Nov 9 '05 #2
Dovelet wrote:
Hi all,

I would like to write DOS program to change the MS Windows Sound
Recording source.


I don't think a DOS program can do that. After all, what should it do if run
under DOS? Why can't it be a Windows program?

Nov 9 '05 #3

"Dovelet" <do*********@yahoo.com.hk> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hi all,

I would like to write DOS program to change the MS Windows Sound
Recording source. When I run it with the parameter, it will change the
recording source as follow:

C:\> abc.exe microphone <- the Sound recording source change to
Microphone
C:\> abc.exe line <- the sound recording source change to Line-IN


Off-topic. See:
http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Regards,
Sumit.
--
Sumit Rajan <su****@msdc.hcltech.com>
Nov 9 '05 #4
Hi all,

Sorry, I want to clarify my question. Acutally, I want to write a
program that can be run under MS Windows in command line. It can use
C++ or other language. Any suggestions?

Regards,
Murphy

Nov 10 '05 #5
Dovelet wrote:

Hi all,

Sorry, I want to clarify my question. Acutally, I want to write a
program that can be run under MS Windows in command line. It can use
C++ or other language. Any suggestions?


Yes. Ask in a newsgroup about windows programming.
Your main problem has nothing to do with C++ or C, but
it has al to do with how sound recording works in a Windows environment.

--
Karl Heinz Buchegger
kb******@gascad.at
Nov 10 '05 #6
"Rolf Magnus" <ra******@t-online.de> wrote in message
news:dk*************@news.t-online.com...
Dovelet wrote:
Hi all,

I would like to write DOS program to change the MS Windows Sound
Recording source.
I don't think a DOS program can do that. After all, what should it do

if run under DOS? Why can't it be a Windows program?


Because that would change the parameters of the problem...?

;-)

--
Mabden
Nov 22 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mike Newman | last post: by
4 posts views Thread by Michael | last post: by
4 posts views Thread by Michael | last post: by
8 posts views Thread by jer | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.