473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 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 2472
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike Newman | last post by:
Does anyone know if it is possible to program the PC's sound card using Visual Studio.NET in basic? If so, how can I get some information? I just want to sound notes of a specified frequency...
4
by: Michael | last post by:
Hello, I want to create a program that records a sound track from the microphone, and save it into a file, but I don't know how and where to begin, Please give me any piece of information about...
4
by: Michael | last post by:
Hello, I want to create a program that records a sound track from the microphone, and save it into a file. Can anybody tell me please how do I get the audio from the microphone? thanks for your...
3
by: larry | last post by:
Hi, my friends, My boss asked me to use sound card to do analog to digital conversion for my application. I know when we record sound, sound card changes anolog signal to digital file. I have no...
8
by: jer | last post by:
I've noticed you've helped a lot of people that were trying to do sound recording through VB.net. I'm searched all over the internet, and I'm still having problems write sound to a wav file. My...
1
kZero
by: kZero | last post by:
iam working on voice chat software and i have problem i hope any one can help me i wanna know how to change the voice recording input ( Microphone , Wave , Stereo mix and line in ) can any one...
1
by: Proaccesspro | last post by:
I have a form with several text boxes on it. Why is it that Access will not allow me to change the control source from a filed in one table to a field in another table?
1
by: cwby1966 | last post by:
Hi I am trying to change the control source of a control on a report depending on a selection on the form where the report was called from. Here is the code i have tried: Private Sub...
7
by: tomric | last post by:
I have two forms, one with two command buttons, the other is a testing critera input form. Both cmd bottons open the same form. The first opens it to input test criteria, and is attached to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.