aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.h
diff options
context:
space:
mode:
authorm45t3r2020-11-12 00:20:12 -0300
committerm45t3r2020-11-12 00:30:01 -0300
commitb573d4ac1108e58b367127780a30c3d50d2523a9 (patch)
treeaa9eb5369f837c15a9b61f46cb079d2edeaa7eb6 /source/soundux.h
parentc6d560b0adc5b321115f2597091422787588b807 (diff)
downloadsnesemu-b573d4ac1108e58b367127780a30c3d50d2523a9.tar.gz
snesemu-b573d4ac1108e58b367127780a30c3d50d2523a9.tar.bz2
snesemu-b573d4ac1108e58b367127780a30c3d50d2523a9.zip
Fix compilation with modern GCC, remove unused portaudio.h
Diffstat (limited to 'source/soundux.h')
-rw-r--r--source/soundux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/soundux.h b/source/soundux.h
index a3b4bbc..5cb4218 100644
--- a/source/soundux.h
+++ b/source/soundux.h
@@ -48,7 +48,7 @@ typedef struct
bool mute_sound;
} SoundStatus;
-SoundStatus so;
+extern SoundStatus so;
typedef struct
{
@@ -105,7 +105,7 @@ typedef struct
int32_t noise_hertz;
} SSoundData;
-SSoundData SoundData;
+extern SSoundData SoundData;
void S9xSetSoundVolume(int32_t channel, int16_t volume_left, int16_t volume_right);
void S9xSetSoundFrequency(int32_t channel, int32_t hertz);