Commit graph

11 commits

Author SHA1 Message Date
Nebuleon Fumika
927d456306 Merge branch 'master' into 8bitsound
Conflicts:
	source/nds/entry.cpp
2013-02-08 05:50:22 -05:00
Nebuleon Fumika
2b71568408 Reverse the loop in MixStereo such that instead of "for each channel, for each playback sample, add into the mix buffer", the playback sample is instead written to the mix buffer only when fully mixed from the 8 SNES sound channels.
Verified working with Secret of Mana, Super Bomberman 5 and Super Mario World.
2013-01-26 14:49:18 -05:00
Nebuleon Fumika
7d788578b2 Initial 8-bit sound commit. For the lulz! 2013-01-20 22:26:24 -05:00
Nebuleon Fumika
88135c52f8 Remove unneeded volatility, enabling more optimisations. Sound volatility is #define'd away, GUI volatility is simply removed. 2013-01-19 20:28:17 -05:00
Nebuleon Fumika
4717df6485 Revert "Remove shifted envelope heights from the code, because one is always set from the other and the shifted height is not used in saved states."
This reverts commit e3bb4a5f62.
2013-01-12 03:08:07 -05:00
Nebuleon Fumika
40d30e35ca Remove redundant writes to support reverse stereo. Define FOREVER_FORWARD_STEREO. 2013-01-12 01:09:59 -05:00
Nebuleon Fumika
e3bb4a5f62 Remove shifted envelope heights from the code, because one is always set from the other and the shifted height is not used in saved states. 2013-01-12 00:34:49 -05:00
Nebuleon Fumika
575e93abdc Reduce memory access in noise generation. 2013-01-11 23:21:41 -05:00
Nebuleon Fumika
e0259e54c2 Prepare for audio optimisations. Fix the indentation in MixStereo(). 2013-01-11 21:11:12 -05:00
Nebuleon Fumika
7896e83aa9 Stop constantly testing for 16-bit and stereo in sound handlers. Define FOREVER_16_BIT_SOUND and FOREVER_STEREO and use them throughout the code.
This is essentially commit 6b36e79013, but for sound instead of graphics.
2013-01-11 19:22:59 -05:00
Kitty Draper
d40ae99422 first commit 2011-03-05 21:39:25 -05:00