summaryrefslogtreecommitdiff
path: root/audio/sysvad/EndpointsCommon/minwavert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sysvad/EndpointsCommon/minwavert.cpp')
-rw-r--r--audio/sysvad/EndpointsCommon/minwavert.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/sysvad/EndpointsCommon/minwavert.cpp b/audio/sysvad/EndpointsCommon/minwavert.cpp
index 8ad0e09d..d56462a6 100644
--- a/audio/sysvad/EndpointsCommon/minwavert.cpp
+++ b/audio/sysvad/EndpointsCommon/minwavert.cpp
@@ -1317,11 +1317,11 @@ CMiniportWaveRT::EvtFormatChangeHandler
if (This->m_DeviceType == eBthHfpMicDevice)
{
// swap the device formats and modes for bt
- ExAcquireFastMutex(&This->m_DeviceFormatsAndModesLock);
+ This->AcquireFormatsAndModesLock();
This->m_DeviceFormatsAndModes = This->m_pSidebandDevice->GetFormatsAndModes(This->m_DeviceType);
- ExReleaseFastMutex(&This->m_DeviceFormatsAndModesLock);
+ This->ReleaseFormatsAndModesLock();
This->GenerateEventList(
(GUID*)&KSEVENTSETID_PinCapsChange,
@@ -1334,11 +1334,11 @@ CMiniportWaveRT::EvtFormatChangeHandler
else if(This->m_DeviceType == eBthHfpSpeakerDevice)
{
// swap the device formats and modes for bt
- ExAcquireFastMutex(&This->m_DeviceFormatsAndModesLock);
+ This->AcquireFormatsAndModesLock();
This->m_DeviceFormatsAndModes = This->m_pSidebandDevice->GetFormatsAndModes(This->m_DeviceType);
- ExReleaseFastMutex(&This->m_DeviceFormatsAndModesLock);
+ This->ReleaseFormatsAndModesLock();
This->GenerateEventList(
(GUID*)&KSEVENTSETID_PinCapsChange,