[MMIXER] Fix additional data size initialization for different audio formats (#6753)
[reactos.git] / dll / directx / d3d9 / d3d9_swapchain.c
index 32217c0..9616d67 100644 (file)
@@ -118,7 +118,7 @@ static HRESULT WINAPI Direct3DSwapChain9_GetDevice(LPDIRECT3DSWAPCHAIN9 iface, I
 
     if (FAILED(D3D9BaseObject_GetDevice(&This->BaseObject, ppDevice)))
     {
-        DPRINT1("Invalid This parameter speficied");
+        DPRINT1("Invalid This parameter specified");
         UNLOCK_D3DDEVICE9();
         return D3DERR_INVALIDDEVICE;
     }
@@ -214,7 +214,7 @@ HRESULT Direct3DSwapChain9_Init(Direct3DSwapChain9_INT* pThisSwapChain, D3DPRESE
 
     for (i = 0; i < 256; i++)
     {
-        pThisSwapChain->GammaRamp.red[i] = 
+        pThisSwapChain->GammaRamp.red[i] =
             pThisSwapChain->GammaRamp.green[i] =
             pThisSwapChain->GammaRamp.blue[i] = i;
     }
@@ -222,7 +222,7 @@ HRESULT Direct3DSwapChain9_Init(Direct3DSwapChain9_INT* pThisSwapChain, D3DPRESE
     pThisSwapChain->PresentParameters = pPresentationParameters[pThisSwapChain->ChainIndex];
     pThisSwapChain->SwapEffect = pPresentationParameters->SwapEffect;
     Direct3DSwapChain9_SetDisplayMode(pThisSwapChain, &pThisSwapChain->PresentParameters);
-    
+
     if (FAILED(D3D9BaseObject_GetDeviceInt(&pThisSwapChain->BaseObject, &pDevice)))
     {
         DPRINT1("Could not get the swapchain device");