| 1398 | } |
| 1399 | |
| 1400 | LRESULT CALLBACK modAudioWindowProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam) |
| 1401 | { |
| 1402 | switch (message) { |
| 1403 | case WM_CALLBACK: { |
| 1404 | modAudioOut out = (modAudioOut)lParam; |
| 1405 | switch (wParam) { |
| 1406 | case 0: |
| 1407 | deliverCallbacks(out->the, out, NULL, 0); |
| 1408 | break; |
| 1409 | case 1: |
| 1410 | doRenderSamples(out); |
| 1411 | break; |
| 1412 | default: |
| 1413 | break; |
| 1414 | } |
| 1415 | return 0; |
| 1416 | } |
| 1417 | } |
| 1418 | return DefWindowProc(window, message, wParam, lParam); |
| 1419 | } |
| 1420 | |
| 1421 | DWORD WINAPI directSoundProc(LPVOID lpParameter) |
| 1422 | { |
nothing calls this directly
no test coverage detected