| 65 | }; |
| 66 | |
| 67 | static void wasapiSubmitBuffer(WASAPIData *aData, UINT32 aFrames) |
| 68 | { |
| 69 | BYTE *buffer = 0; |
| 70 | if (FAILED(aData->renderClient->GetBuffer(aFrames, &buffer))) |
| 71 | { |
| 72 | return; |
| 73 | } |
| 74 | aData->soloud->mixSigned16((short *)buffer, aFrames); |
| 75 | aData->renderClient->ReleaseBuffer(aFrames, 0); |
| 76 | } |
| 77 | |
| 78 | static void wasapiThread(LPVOID aParam) |
| 79 | { |
no test coverage detected