开发者

Directsound playing captured audio

开发者 https://www.devze.com 2022-12-10 01:49 出处:网络
I\'m trying to work out a simple DirectS开发者_JS百科ound app, but the lack of .net documentation has me frustrated.

I'm trying to work out a simple DirectS开发者_JS百科ound app, but the lack of .net documentation has me frustrated.

I'd like to capture the audio from one device and play it back to another. (like an audio repeater) I've got the capture part, but I don't know how to send the capturebuffer out to a secondarybuffer.

Does anyone know of a .net example out there?


You better off writing this in DirectShow using DirectShow.NET.
IT should be not more then 20 lines of code writing this under DirectShow, basically you create a graph which start with the microphone and ends in the output device.

0

精彩评论

暂无评论...
验证码 换一张
取 消