OpenTTD Source 20241224-master-gee860a5c8e
|
Handling of sound for Windows. More...
#include "../stdafx.h"
#include "../openttd.h"
#include "../driver.h"
#include "../mixer.h"
#include "../core/alloc_func.hpp"
#include "../core/bitmath_func.hpp"
#include "../core/math_func.hpp"
#include "win32_s.h"
#include <windows.h>
#include <mmsystem.h>
#include <versionhelpers.h>
#include "../os/windows/win32.h"
#include "../thread.h"
#include "../safeguards.h"
Go to the source code of this file.
Functions | |
static void | PrepareHeader (WAVEHDR *hdr) |
static DWORD WINAPI | SoundThread (LPVOID) |
Variables | |
static FSoundDriver_Win32 | iFSoundDriver_Win32 |
static HWAVEOUT | _waveout |
static WAVEHDR | _wave_hdr [2] |
static int | _bufsize |
static HANDLE | _thread |
static DWORD | _threadId |
static HANDLE | _event |
Handling of sound for Windows.
Definition in file win32_s.cpp.
|
static |
Definition at line 35 of file win32_s.cpp.
|
static |
Definition at line 43 of file win32_s.cpp.
|
static |
Definition at line 30 of file win32_s.cpp.
|
static |
Definition at line 33 of file win32_s.cpp.
|
static |
Definition at line 31 of file win32_s.cpp.
|
static |
Definition at line 32 of file win32_s.cpp.
|
static |
Definition at line 29 of file win32_s.cpp.
|
static |
Definition at line 28 of file win32_s.cpp.
|
static |
Definition at line 26 of file win32_s.cpp.