diff options
author | XhmikosR <xhmikosr@gmail.com> | 2014-01-25 13:15:59 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2014-08-25 01:00:06 +0400 |
commit | a32caa514227d5ed0c151b70ef40df927a17b547 (patch) | |
tree | 3cba4b2fee6c30dafd37ea7024af7e35b45a7b25 /src/filters/renderer/MpcAudioRenderer | |
parent | c3ca483e9fbc0ce52122c9de554847cb8a734822 (diff) |
Use `void` instead of `VOID`.
Diffstat (limited to 'src/filters/renderer/MpcAudioRenderer')
-rw-r--r-- | src/filters/renderer/MpcAudioRenderer/MpcAudioRenderer.cpp | 8 | ||||
-rw-r--r-- | src/filters/renderer/MpcAudioRenderer/MpcAudioRendererSettingsWnd.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/filters/renderer/MpcAudioRenderer/MpcAudioRenderer.cpp b/src/filters/renderer/MpcAudioRenderer/MpcAudioRenderer.cpp index ee00be280..432b2a5fc 100644 --- a/src/filters/renderer/MpcAudioRenderer/MpcAudioRenderer.cpp +++ b/src/filters/renderer/MpcAudioRenderer/MpcAudioRenderer.cpp @@ -81,7 +81,7 @@ bool CALLBACK DSEnumProc2(LPGUID lpGUID, if (lpGUID != nullptr) { // nullptr only for "Primary Sound Driver".
if (strGUID == lpszDesc) {
- memcpy((VOID*)&lpSoundGUID, lpGUID, sizeof(GUID));
+ memcpy((void*)&lpSoundGUID, lpGUID, sizeof(GUID));
}
}
@@ -153,7 +153,7 @@ CMpcAudioRenderer::CMpcAudioRenderer(LPUNKNOWN punk, HRESULT* phr) TRACE(_T("CMpcAudioRenderer constructor\n"));
if (!m_useWASAPI) {
- DirectSoundEnumerate((LPDSENUMCALLBACK)DSEnumProc2, (VOID*)&m_csSound_Device);
+ DirectSoundEnumerate((LPDSENUMCALLBACK)DSEnumProc2, (void*)&m_csSound_Device);
m_pSoundTouch = DEBUG_NEW soundtouch::SoundTouch();
*phr = DirectSoundCreate8(&lpSoundGUID, &m_pDS, nullptr);
}
@@ -710,7 +710,7 @@ HRESULT CMpcAudioRenderer::CreateDSBuffer() HRESULT CMpcAudioRenderer::ClearBuffer()
{
HRESULT hr = S_FALSE;
- VOID* pDSLockedBuffer = nullptr;
+ void* pDSLockedBuffer = nullptr;
DWORD dwDSLockedSize = 0;
if (m_pDSBuffer) {
@@ -822,7 +822,7 @@ HRESULT CMpcAudioRenderer::WriteSampleToDSBuffer(IMediaSample* pMediaSample, boo REFERENCE_TIME rtStop = 0;
HRESULT hr;
bool loop = false;
- VOID* pDSLockedBuffers[2] = { nullptr, nullptr };
+ void* pDSLockedBuffers[2] = { nullptr, nullptr };
DWORD dwDSLockedSize[2] = { 0, 0 };
BYTE* pMediaBuffer = nullptr;
long lSize = pMediaSample->GetActualDataLength();
diff --git a/src/filters/renderer/MpcAudioRenderer/MpcAudioRendererSettingsWnd.cpp b/src/filters/renderer/MpcAudioRenderer/MpcAudioRendererSettingsWnd.cpp index 6e94af38f..4b925fe97 100644 --- a/src/filters/renderer/MpcAudioRenderer/MpcAudioRendererSettingsWnd.cpp +++ b/src/filters/renderer/MpcAudioRenderer/MpcAudioRendererSettingsWnd.cpp @@ -90,7 +90,7 @@ bool CMpcAudioRendererSettingsWnd::OnActivate() SetClassLongPtr(GetDlgItem(IDC_PP_SOUND_DEVICE)->m_hWnd, GCLP_HCURSOR, (LONG_PTR)AfxGetApp()->LoadStandardCursor(IDC_HAND));
- DirectSoundEnumerate((LPDSENUMCALLBACK)DSEnumProc, (VOID*)&m_cbSoundDevice);
+ DirectSoundEnumerate((LPDSENUMCALLBACK)DSEnumProc, (void*)&m_cbSoundDevice);
if (m_cbSoundDevice.GetCount() > 0) {
int idx = m_cbSoundDevice.FindString(0, m_pMAR->GetSoundDevice());
|