Skip to content

Commit 25d8b3d

Browse files
authored
Move MAX_SND_VOICES to header file (#158)
1 parent 9b3f377 commit 25d8b3d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

gc/asndlib.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4747
extern "C" {
4848
#endif
4949

50+
#define MAX_SND_VOICES 16
51+
5052
/*! \addtogroup sndretvals SND return values
5153
* @{
5254
*/

libasnd/asndlib.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3939

4040
#undef SND_BUFFERSIZE
4141

42-
#define MAX_SND_VOICES 16
4342
#define SND_BUFFERSIZE (4096) // don't modify this value
4443

4544
#define VOICE_UPDATEADD (1<<12)

0 commit comments

Comments
 (0)