put in code to make directshow devices be affected by their "audio time offset" option
parent
8307f4daae
commit
21e35fa5a8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue