aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-06 21:43:07 -0800
committerChris Robinson <[email protected]>2023-12-06 21:43:07 -0800
commitc679622010394100b221e6fd45bb9948e7d2ca5a (patch)
tree0ca3d6107e4fdae82078efade7f2889a2f98e629
parent98e7cf3b169a7f8b4bd6210242247b67645856ab (diff)
Add missing include for examples to have a UTF-8 main
-rw-r--r--examples/alconvolve.c2
-rw-r--r--examples/alhrtf.c2
-rw-r--r--examples/allatency.c2
-rw-r--r--examples/almultireverb.c2
-rw-r--r--examples/alplay.c2
-rw-r--r--examples/alreverb.c2
-rw-r--r--examples/alstream.c2
-rw-r--r--examples/alstreamcb.cpp2
8 files changed, 16 insertions, 0 deletions
diff --git a/examples/alconvolve.c b/examples/alconvolve.c
index 8580d443..8198409c 100644
--- a/examples/alconvolve.c
+++ b/examples/alconvolve.c
@@ -38,6 +38,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
#ifndef AL_SOFT_convolution_effect
#define AL_SOFT_convolution_effect
diff --git a/examples/alhrtf.c b/examples/alhrtf.c
index 7ea1b99e..a2f1824a 100644
--- a/examples/alhrtf.c
+++ b/examples/alhrtf.c
@@ -40,6 +40,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
#ifndef M_PI
#define M_PI (3.14159265358979323846)
diff --git a/examples/allatency.c b/examples/allatency.c
index 01f4eb69..9a535442 100644
--- a/examples/allatency.c
+++ b/examples/allatency.c
@@ -37,6 +37,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
static LPALSOURCEDSOFT alSourcedSOFT;
static LPALSOURCE3DSOFT alSource3dSOFT;
diff --git a/examples/almultireverb.c b/examples/almultireverb.c
index dcb76c87..d1deae5a 100644
--- a/examples/almultireverb.c
+++ b/examples/almultireverb.c
@@ -47,6 +47,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
#ifndef M_PI
#define M_PI 3.14159265358979323846
diff --git a/examples/alplay.c b/examples/alplay.c
index 1eabcccd..9af7ca40 100644
--- a/examples/alplay.c
+++ b/examples/alplay.c
@@ -37,6 +37,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
enum FormatType {
Int16,
diff --git a/examples/alreverb.c b/examples/alreverb.c
index ff49db25..15b92235 100644
--- a/examples/alreverb.c
+++ b/examples/alreverb.c
@@ -40,6 +40,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
/* Effect object functions */
static LPALGENEFFECTS alGenEffects;
diff --git a/examples/alstream.c b/examples/alstream.c
index a61680d2..7e62c50d 100644
--- a/examples/alstream.c
+++ b/examples/alstream.c
@@ -37,6 +37,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
/* Define the number of buffers and buffer size (in milliseconds) to use. 4
* buffers at 200ms each gives a nice per-chunk size, and lets the queue last
diff --git a/examples/alstreamcb.cpp b/examples/alstreamcb.cpp
index 6cc24034..b970c920 100644
--- a/examples/alstreamcb.cpp
+++ b/examples/alstreamcb.cpp
@@ -44,6 +44,8 @@
#include "common/alhelpers.h"
+#include "win_main_utf8.h"
+
namespace {