summaryrefslogtreecommitdiff
path: root/src/soundux.h
diff options
context:
space:
mode:
authortwinaphex2018-12-28 00:32:13 +0100
committertwinaphex2018-12-28 00:32:13 +0100
commitc007afe6fd51827fade7aa15a0a798be8bd97839 (patch)
tree3b8aca538bec3b42ef9bd33549a15110c3a20e37 /src/soundux.h
parent29db3cf00f552808b3f1dc5d11fcdbbefc659ec4 (diff)
downloadsnes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.tar.gz
snes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.tar.bz2
snes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.zip
Start significantly refactoring this codebase so we can get it
to work with MSVC
Diffstat (limited to 'src/soundux.h')
-rw-r--r--src/soundux.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/soundux.h b/src/soundux.h
index d79dfca..d44613f 100644
--- a/src/soundux.h
+++ b/src/soundux.h
@@ -76,7 +76,7 @@ typedef struct
uint32 freqbase; // notaz
} SoundStatus;
-EXTERN_C SoundStatus so;
+extern SoundStatus so;
typedef struct
{
@@ -152,7 +152,7 @@ typedef struct
int noise_hertz;
} SSoundData;
-EXTERN_C SSoundData SoundData;
+extern SSoundData SoundData;
void S9xSetEnvelopeHeight(int channel, int height);
void S9xSetSoundKeyOff(int channel);
@@ -162,13 +162,13 @@ void S9xSoundStartEnvelope(Channel*);
void S9xSetSoundSample(int channel, uint16 sample_number);
void S9xSetEchoDelay(int byte);
void S9xResetSound(bool8 full);
-void S9xFixSoundAfterSnapshotLoad();
+void S9xFixSoundAfterSnapshotLoad(void);
void S9xPlaybackSoundSetting(int channel);
void S9xFixEnvelope(int channel, uint8 gain, uint8 adsr1, uint8 adsr2);
void S9xStartSample(int channel);
-EXTERN_C void S9xMixSamples(signed short* buffer, int sample_count);
-EXTERN_C void S9xMixSamplesO(signed short* buffer, int sample_count, int sample_offset);
+void S9xMixSamples(signed short* buffer, int sample_count);
+void S9xMixSamplesO(signed short* buffer, int sample_count, int sample_offset);
void S9xSetPlaybackRate(uint32 rate);
bool8 S9xInitSound(void);
#endif