aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.h
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-11 21:11:12 -0500
committerNebuleon Fumika2013-01-11 21:11:12 -0500
commite0259e54c2413c9fd24713e4abde4a49c1f329dc (patch)
tree9de21710b9ae165bf125d88f0bed8668cfd94341 /source/soundux.h
parent7896e83aa9a3da428d3a56423a5c613782d1ac18 (diff)
downloadsnes9x2005-e0259e54c2413c9fd24713e4abde4a49c1f329dc.tar.gz
snes9x2005-e0259e54c2413c9fd24713e4abde4a49c1f329dc.tar.bz2
snes9x2005-e0259e54c2413c9fd24713e4abde4a49c1f329dc.zip
Prepare for audio optimisations. Fix the indentation in MixStereo().
Diffstat (limited to 'source/soundux.h')
-rw-r--r--source/soundux.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/soundux.h b/source/soundux.h
index fe96f73..a1417bd 100644
--- a/source/soundux.h
+++ b/source/soundux.h
@@ -188,12 +188,12 @@ typedef struct {
typedef struct
{
- short master_volume_left;
- short master_volume_right;
- short echo_volume_left;
- short echo_volume_right;
+ 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 */
int echo_enable;
- int echo_feedback;
+ int echo_feedback; /* range is -128 .. 127 */
int echo_ptr;
int echo_buffer_size;
int echo_write_enabled;
@@ -203,8 +203,8 @@ typedef struct
uint32 dummy [3];
Channel channels [NUM_CHANNELS];
bool8 no_filter;
- int master_volume [2];
- int echo_volume [2];
+ int master_volume [2]; /* for reverse stereo */
+ int echo_volume [2]; /* for reverse stereo */
int noise_hertz;
} SSoundData;