aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.h
diff options
context:
space:
mode:
authoraliaspider2014-10-29 06:47:46 +0100
committeraliaspider2014-10-29 06:47:46 +0100
commit761d752569b9bad6bdb755e91ca9e345cfb2788d (patch)
tree5eaa11c172c08039757d6bee1a3641e051462d3a /source/soundux.h
parenta6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a (diff)
downloadsnes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.gz
snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.bz2
snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.zip
C++ cleanups. (in progress)
Diffstat (limited to 'source/soundux.h')
-rw-r--r--source/soundux.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/soundux.h b/source/soundux.h
index 2426070..7e77d4f 100644
--- a/source/soundux.h
+++ b/source/soundux.h
@@ -138,7 +138,7 @@ typedef struct {
uint32 err_rate;
} SoundStatus;
-EXTERN_C SoundStatus so;
+SoundStatus so;
typedef struct {
@@ -200,7 +200,7 @@ typedef struct
int noise_hertz;
} SSoundData;
-EXTERN_C SSoundData SoundData;
+SSoundData SoundData;
void S9xSetEightBitConsoleSound (bool8 Enabled);
@@ -237,8 +237,8 @@ void S9xPlaySample (int channel);
void S9xFixEnvelope (int channel, uint8 gain, uint8 adsr1, uint8 adsr2);
void S9xStartSample (int channel);
-EXTERN_C void S9xMixSamples (uint8 *buffer, int sample_count);
-EXTERN_C void S9xMixSamplesO (uint8 *buffer, int sample_count, int byte_offset);
+void S9xMixSamples (uint8 *buffer, int sample_count);
+void S9xMixSamplesO (uint8 *buffer, int sample_count, int byte_offset);
bool8 S9xOpenSoundDevice (int, bool8, int);
void S9xSetPlaybackRate (uint32 rate);
#endif