put in code to make directshow devices be affected by their "audio time offset" option
This commit is contained in:
parent
8307f4daae
commit
21e35fa5a8
@ -35,7 +35,7 @@ bool DeviceAudioSource::GetNextBuffer(void **buffer, UINT *numFrames, QWORD *tim
|
|||||||
|
|
||||||
*buffer = outputBuffer.Array();
|
*buffer = outputBuffer.Array();
|
||||||
*numFrames = sampleFrameCount;
|
*numFrames = sampleFrameCount;
|
||||||
*timestamp = API->GetAudioTime();
|
*timestamp = API->GetAudioTime()+GetTimeOffset();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user