mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 07:17:28 +00:00
[idd] audio: publish render data promptly
Publish committed WaveRT render frames on a 4 kHz timer while keeping packet completion and notification semantics unchanged. Serialize clock sampling with position updates to prevent concurrent queries from replaying elapsed time.
This commit is contained in:
@@ -263,6 +263,12 @@ void CAudioAdapter::WriteRenderFrames(
|
||||
BrokerDeviceNotifyRenderAvailable(this, bytes, droppedBytes);
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
void CAudioAdapter::MarkRenderDiscontinuity()
|
||||
{
|
||||
InterlockedExchange(&m_renderDiscontinuity, 1);
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
void CAudioAdapter::ReadCaptureFrames(
|
||||
_In_ const FormatFingerprint &format,
|
||||
|
||||
Reference in New Issue
Block a user