Archived

This topic is now archived and is closed to further replies.

GaryNas

Remove Background Nosie

Recommended Posts

Well, it''s 5:30pm and I just got stuck with creating an ambient noise filter that I have to have done by noon tomorrow, so I''m here for MAJOR help. Hopefully it won''t be a big deal, but I don''t know where to start... So, we''re using the IDirectSoundCapture8 interface on the Windows 2000 platform. Our input is a USB headset and the problem is it''s too sensitive and it picks up background noise, which I now have to filter out. All I''m looking to do is after the call to IDirectSoundCapture8::Lock is take the first void* buffer and its length and pass it to a function - LowPassFilter(void* pBuffer, DWORD dwBufLength); Unfortunately I have NO clue what goes inside that function. BTW, the code is written so that when Lock is called on the capture buffer only the first buffer is needed. Thanks for your help! Gary.

Share this post


Link to post
Share on other sites