aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.h
diff options
context:
space:
mode:
authoraliaspider2014-10-28 22:45:14 +0100
committeraliaspider2014-10-28 22:45:14 +0100
commitf518934e3b664d0cf9535a391d6572300958d3bf (patch)
treeac24ebff344f7e8163a3b14ed228e3a26aa6915f /source/soundux.h
parenta9c9cc3e30e50e8d90e355aa7ea84ae846e0c9bc (diff)
downloadsnesemu-f518934e3b664d0cf9535a391d6572300958d3bf.tar.gz
snesemu-f518934e3b664d0cf9535a391d6572300958d3bf.tar.bz2
snesemu-f518934e3b664d0cf9535a391d6572300958d3bf.zip
cleanups (cont.)
Diffstat (limited to 'source/soundux.h')
-rw-r--r--source/soundux.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/source/soundux.h b/source/soundux.h
index 7855d6c..fb765c6 100644
--- a/source/soundux.h
+++ b/source/soundux.h
@@ -144,14 +144,8 @@ typedef struct {
uint32 err_rate;
} SoundStatus;
-// Define NO_VOLATILE_SOUND if you're always reading or writing sound from one
-// thread or one co-routine. If you're using interrupts or a thread, sound must
-// be volatile.
-#ifndef NO_VOLATILE_SOUND
-EXTERN_C volatile SoundStatus so;
-#else
EXTERN_C SoundStatus so;
-#endif
+
typedef struct {
int state;
@@ -196,12 +190,6 @@ typedef struct {
typedef struct
{
-#ifndef FOREVER_FORWARD_STEREO
- short master_volume_left; /* range is -128 .. 127 */
- short master_volume_right; /* range is -128 .. 127 */
- short echo_volume_left; /* range is -128 .. 127 */
- short echo_volume_right; /* range is -128 .. 127 */
-#endif
int echo_enable;
int echo_feedback; /* range is -128 .. 127 */
int echo_ptr;