Added a test for MUIA_Listview_SelectChange.
[AROS.git] / workbench / devs / AHI / Examples / Low-level / PT-AHIPlay / PT-AHIPlay.i
blob7d08a2ced4bc6ee7833900ea1fb47812125ade2d
2 IFND EXEC_TYPES_I
3 INCLUDE 'exec/types.i'
4 ENDC
6 n_note EQU 0 ; W
7 n_cmd EQU 2 ; W
8 n_cmdlo EQU 3 ; B
9 n_start EQU 4 ; L
10 n_length EQU 8 ; W
11 n_loopstart EQU 10 ; L
12 n_replen EQU 14 ; W
13 n_period EQU 16 ; W
14 n_finetune EQU 18 ; B
15 n_volume EQU 19 ; B
16 n_dmabit EQU 20 ; W
17 n_toneportdirec EQU 22 ; B
18 n_toneportspeed EQU 23 ; B
19 n_wantedperiod EQU 24 ; W
20 n_vibratocmd EQU 26 ; B
21 n_vibratopos EQU 27 ; B
22 n_tremolocmd EQU 28 ; B
23 n_tremolopos EQU 29 ; B
24 n_wavecontrol EQU 30 ; B
25 n_glissfunk EQU 31 ; B
26 n_sampleoffset EQU 32 ; B
27 n_pattpos EQU 33 ; B
28 n_loopcount EQU 34 ; B
29 n_funkoffset EQU 35 ; B
30 n_wavestart EQU 36 ; L
31 n_reallength EQU 40 ; W
32 n_SIZEOF EQU 42
34 STRUCTURE PaulaEmul,0
35 BOOL pe_NewSample ;Flag
36 ULONG pe_Offset ;Offset from sample start
37 UWORD pe_Length ;Length in *WORDS* (like Paula)
38 BOOL pe_NewLoopSample ;Flag
39 ULONG pe_LoopOffset ;Offset from sample start
40 UWORD pe_LoopLength ;Length in *WORDS* (like Paula)
41 BOOL pe_NewPeriod ;Flag
42 UWORD pe_Period ;Paula period
43 BOOL pe_NewVolume ;Flag
44 UWORD pe_Volume ;Paula volume, 0-64
45 LABEL PaulaEmul_SIZEOF
48 STRUCTURE PTData,0
49 APTR ptd_AHIBase ;Must be initialized!
50 APTR ptd_AudioCtrl ;Must be initialized!
51 APTR ptd_ModuleAddress ;Must be initialized!
53 LABEL ptd_Chs
54 STRUCT ptd_Ch2,PaulaEmul_SIZEOF ;Ch2 (left)
55 STRUCT ptd_Ch1,PaulaEmul_SIZEOF ;Ch1 (right)
56 STRUCT ptd_Ch3,PaulaEmul_SIZEOF ;Ch3 (left)
57 STRUCT ptd_Ch4,PaulaEmul_SIZEOF ;Ch4 (right)
58 STRUCT ptd_SampleStarts,4*31
59 STRUCT ptd_chan1temp,n_SIZEOF
60 STRUCT ptd_chan2temp,n_SIZEOF
61 STRUCT ptd_chan3temp,n_SIZEOF
62 STRUCT ptd_chan4temp,n_SIZEOF
64 UWORD ptd_NewTempo
65 UWORD ptd_Tempo
67 UBYTE ptd_speed
68 UBYTE ptd_counter
69 UBYTE ptd_SongPos
70 UBYTE ptd_PBreakPos
71 UBYTE ptd_PosJumpFlag
72 UBYTE ptd_PBreakFlag
73 UBYTE ptd_LowMask
74 UBYTE ptd_PattDelTime
75 UBYTE ptd_PattDelTime2
76 UBYTE ptd_Enable
77 UWORD ptd_PatternPos
78 UWORD ptd_DMACONtemp
79 LABEL PTData_SIZEOF