By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,456 Members | 1,372 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,456 IT Pros & Developers. It's quick & easy.


P: n/a

I've got question:
How to get any sounds from microphone and play them using the speakers?

Thanks in advance
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
To simply play sound , you can use the playsound function of the winmm.dll
.. first use the DllImport attribute , define a prototype for playsound
[DllImport("winmm.dll", EntryPoint="PlaySound")]
public static extern bool PlaySound_DllImport(string
pszSound,IntPtr hmod ,int fdwSound );
then you can call that function later on a wave file
If you want to do complex audio operations however , you can use the
directX SDK
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.