Hi there,
I'm using DirectSound to read in data from the default microphone and hand it off to Wwise (AudioKinetic's sound engine).
HRESULT result = DirectSoundCaptureCreate8(&DSDEVID_DefaultVoiceCapture, &myDirectSoundCapture, NULL);
...
// Generate the capture buffer description
DSCBUFFERDESC bufferDescription;
bufferDescription.dwSize = sizeof( DSCBUFFERDESC );
bufferDescription.dwFlags = 0;
bufferDescription.dwBufferBytes = myWaveFormat.nAvgBytesPerSec;
bufferDescription.dwReserved = 0;
bufferDescription.lpwfxFormat = &myWaveFormat;
bufferDescription.dwFXCount = 0;
bufferDescription.lpDSCFXDesc = NULL;
LPDIRECTSOUNDCAPTUREBUFFER captureBuffer;
HRESULT result = myDirectSoundCapture->CreateCaptureBuffer( &bufferDescription, &captureBuffer, NULL );
if( SUCCEEDED(result) )
{
result = captureBuffer->QueryInterface( IID_IDirectSoundCaptureBuffer8, (LPVOID*)&myCaptureBuffer )
}
After initialization, when I actually start reading in data from the microphone the sound levels in Windows (everything in windows) drops by about 15db... you can barely hear anything. At the moment I call myCaptureBuffer->Start( DSCBSTART_LOOPING )
Anyone experienced this before or know of a solution?
Edited by Orangeatang, 06 March 2013 - 07:43 AM.






