# win32_s.cpp File Reference

Handling of sound for Windows. More...

`#include "../stdafx.h"`
`#include "../openttd.h"`
`#include "../driver.h"`
`#include "../mixer.h"`
`#include "../core/alloc_func.hpp"`
`#include "win32_s.h"`
`#include <windows.h>`
`#include <mmsystem.h>`

Go to the source code of this file.

## Functions
static void | PrepareHeader (WAVEHDR *hdr)
static void | FillHeaders ()
static void CALLBACK | waveOutProc (HWAVEOUT hwo, UINT uMsg, DWORD_PTR dwInstance, DWORD dwParam1, DWORD dwParam2)
## Variables
static FSoundDriver_Win32 | iFSoundDriver_Win32
static HWAVEOUT | _waveout
static WAVEHDR | _wave_hdr [2]
static int | _bufsize

## Detailed Description

Handling of sound for Windows.

Definition in file win32_s.cpp.