mic capture using directsound.dll
  Home FAQ Contact Sign in
microsoft.public.win32.programmer.directx.audio only
 
Advanced search
POPULAR GROUPS

more...

microsoft ... directx.audio Profile…
 Up
mic capture using directsound.dll         


Author: Anil TG
Date: Jan 28, 2008 22:54

hi.
Can anybody tell me how to capture mic using directsound.dll?.

Regards
Anil T.G.
11 Comments
Re: mic capture using directsound.dll         


Author: Chris P.
Date: Jan 29, 2008 07:23

On Mon, 28 Jan 2008 22:54:01 -0800, Anil TG wrote:
> Can anybody tell me how to capture mic using directsound.dll?.

I'd probably start with DirectSoundCaptureCreate8().

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
no comments
Re: mic capture using directsound.dll         


Author: Anil TG
Date: Jan 30, 2008 05:18

Thankx Chris..i need to get the sound signals in a buffer because i need to
transfer the signal via socket,.Is it possible?.
----------------------------------------------
"Chris P." wrote:
> On Mon, 28 Jan 2008 22:54:01 -0800, Anil TG wrote:
>
>> Can anybody tell me how to capture mic using directsound.dll?.
>
> I'd probably start with DirectSoundCaptureCreate8().
>
> --
> http://www.chrisnet.net/code.htm
> [MS MVP for DirectShow / MediaFoundation]
>
no comments
Re: mic capture using directsound.dll         


Author: Chris P.
Date: Jan 31, 2008 07:32

On Wed, 30 Jan 2008 20:00:48 -0800, Anil TG wrote:
> Again thankx..Will it work on a system on which DirectX is not installed or
> will there be any version conflicts..Is it necessary that the system on which
> i'm going to Run the EXE should have DirectX Installed?..the dll comes with
> the SDK only right?..

Since Windows 2000 DirectX is part of the operating system and will be at
least v8.1. XP+ will be at least v9.0c.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]
no comments
Re: mic capture using directsound.dll         


Author: Chuck Walbourn [MSFT]
Date: Jan 31, 2008 12:52

Windows 2000 shipped with DX7, you can install 9.0c on it with the DX SDK
REDIST

Windows XP and Windows Server 2003 shipped with DX 8.1, you can install 9.0c
on it with the DX SDK REDIST

Windows XP SP 2, Windows Server 2003 SP1, Windows Server 2003 R2, and
Windows XP Pro x64 Edition shipped with DX 9.0c

Windows Vista comes with DX10, which is
DX 9.0c
+Direct3D10
-DirectPlay Voice
-Direct3D Retained Mode
-DirectInput's ConfigureDevices UI

No version of Windows comes with the DirectX SDK optional side-by-side
components D3DX9, D3DX10, XINPUT, XACT, XAUDIO2, or MDX 1.1. These are only
distributed by using the REDIST in the DirectX SDK.

--
Chuck Walbourn
SDE, XNA Developer Connection

This posting is provided "AS IS" with no warranties, and confers no rights.
no comments
Re: mic capture using directsound.dll         


Author: Chris P.
Date: Jan 31, 2008 13:06

On Thu, 31 Jan 2008 12:52:42 -0800, Chuck Walbourn [MSFT] wrote:
Show full article (0.91Kb)
no comments
Re: mic capture using directsound.dll         


Date: Jan 31, 2008 13:16

On Thu, 31 Jan 2008 16:06:39 -0500, Chris P. wrote:
> On Thu, 31 Jan 2008 12:52:42 -0800, Chuck Walbourn [MSFT] wrote:
>
...
>> Windows XP SP 2, Windows Server 2003 SP1, Windows Server 2003 R2, and
>> Windows XP Pro x64 Edition shipped with DX 9.0c
...
>
> XP SP2 also updated the DX version to 9.0c, no?

Ja :)

--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution
no comments
Re: mic capture using directsound.dll         


Author: Alessandro Angeli
Date: Jan 31, 2008 13:19

From: "Chris P."
>> Windows XP SP 2, Windows Server 2003 SP1, Windows Server
>> 2003 R2, and Windows XP Pro x64 Edition shipped with DX
>> 9.0c
[...]
> XP SP2 also updated the DX version to 9.0c, no?

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
no comments
Re: mic capture using directsound.dll         


Author: Anil TG
Date: Jan 31, 2008 20:06

iv tried the mic capture usin "DirectX.Capture" , and i noticed that its
possible to direct the sound signal to a file so that we'll get the recorded
sound signals as a file.
capture.Filenmae="somefile.wav" will do no?.but my requirement is i need to
get the same data that are being written into the file,in a buffer or as a
string..so that it'll be easy for me to transfer it via sockets...any hint?.

"Alessandro Angeli" wrote:
Show full article (0.83Kb)
no comments
Re: mic capture using directsound.dll         


Author: Alessandro Angeli
Date: Jan 31, 2008 21:31

From: "Anil TG"
> iv tried the mic capture usin "DirectX.Capture" , and i
> noticed that its possible to direct the sound signal to a
> file so that we'll get the recorded sound signals as a
> file capture.Filenmae="somefile.wav" will do no?

Where did you find that? MDX 1.1 doesn't have a
DirectX.Capture class and
Microsoft.DirectX.DirectSound.Capture doesn't have a
Filename property.
>.but my
> requirement is i need to get the same data that are being
> written into the file,in a buffer or as a string..so that
> it'll be easy for me to transfer it via sockets...any
> hint?.

If you are planning on using MDX, look at
Microsoft.DirectX.DirectSound.CaptureBuffer.
Show full article (0.83Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
China Wireless Mics - Wholesale Wireless Mics Manufactureritalia.bologna.cercooffro ·
OEM OEM Mics - Chinese OEM Mics Manufactureralt.sys.pcclone.dell ·
1 2