put in code to make directshow devices be affected by their "audio time offset" option

master
jp9000 2013-07-25 12:54:33 -07:00
parent 8307f4daae
commit 21e35fa5a8
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ bool DeviceAudioSource::GetNextBuffer(void **buffer, UINT *numFrames, QWORD *tim
*buffer = outputBuffer.Array();
*numFrames = sampleFrameCount;
*timestamp = API->GetAudioTime();
*timestamp = API->GetAudioTime()+GetTimeOffset();
return true;
}