initial commit
[gbajam22] / libs / maxmod / mp_mixer_gba.inc
1 /****************************************************************************
2  *                                                          __              *
3  *                ____ ___  ____ __  ______ ___  ____  ____/ /              *
4  *               / __ `__ \/ __ `/ |/ / __ `__ \/ __ \/ __  /               *
5  *              / / / / / / /_/ />  </ / / / / / /_/ / /_/ /                *
6  *             /_/ /_/ /_/\__,_/_/|_/_/ /_/ /_/\____/\__,_/                 *
7  *                                                                          *
8  *         Copyright (c) 2008, Mukunda Johnson (mukunda@maxmod.org)         *
9  *                                                                          *
10  * Permission to use, copy, modify, and/or distribute this software for any *
11  * purpose with or without fee is hereby granted, provided that the above   *
12  * copyright notice and this permission notice appear in all copies.        *
13  *                                                                          *
14  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES *
15  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF         *
16  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR  *
17  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES   *
18  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN    *
19  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF  *
20  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.           *
21  ****************************************************************************/
22
23 #ifndef MP_MIXER_GBA_INC
24 #define MP_MIXER_GBA_INC
25
26 @ definitions
27
28 .equ    MP_SAMPFRAC             ,12
29
30 .equ    MIXER_CHN_SRC           ,0
31 .equ    MIXER_CHN_READ          ,4
32 .equ    MIXER_CHN_VOL           ,8      
33 .equ    MIXER_CHN_PAN           ,9
34 // 10
35 // 11
36 .equ    MIXER_CHN_FREQ          ,12
37 .equ    MIXER_CHN_SIZE          ,16
38
39 //////////////////////////////////.equ  MIXER_CHN_LOOP          ,8
40 /////////////////////////////////////.equ       MIXER_CHN_LEN           ,16
41
42 #endif