Home
last modified time | relevance | path

Searched refs:MUS_PROG_LEN (Results 1 – 9 of 9) sorted by relevance

/dports/audio/klystrack/klystrack-1.7.6-make-fix-12-gfe6e746/src/import/
H A Dahx.c196 i->program[*pidx] = MUS_FX_JUMP | (pos[data1] & (MUS_PROG_LEN - 1)); in ahx_program()
424 if (pidx < MUS_PROG_LEN - 1) in import_ahx()
462 if (wave && pidx < MUS_PROG_LEN - 1) in import_ahx()
474 …if (pidx < MUS_PROG_LEN - 1) i->program[pidx] = (fixed_note ? MUS_FX_ARPEGGIO_ABS : MUS_FX_ARPEGGI… in import_ahx()
492 if ((wave || note) && pidx < MUS_PROG_LEN - 1) in import_ahx()
498 if (pidx < MUS_PROG_LEN - 1) ahx_program(fx1, data1, &pidx, i, pos, &has_4xx); in import_ahx()
503 if ((wave || note || (fx1 || data1)) && pidx < MUS_PROG_LEN - 1) in import_ahx()
509 if (pidx < MUS_PROG_LEN - 1) ahx_program(fx2, data2, &pidx, i, pos, &has_4xx); in import_ahx()
/dports/audio/klystrack/klystrack-1.7.6-make-fix-12-gfe6e746/klystron/src/snd/
H A Dmusic.h33 #define MUS_PROG_LEN 32 macro
55 Uint16 program[MUS_PROG_LEN];
H A Dmusic.c987 int visited[MUS_PROG_LEN] = { 0 }; in mus_exec_prog_tick()
1016 tick = inst & (MUS_PROG_LEN - 1); in mus_exec_prog_tick()
1065 if (tick >= MUS_PROG_LEN) in mus_exec_prog_tick()
1997 for (int p = 0 ; p < MUS_PROG_LEN; ++p) in mus_get_default_instrument()
/dports/audio/klystrack/klystrack-1.7.6-make-fix-12-gfe6e746/src/
H A Doptimize.c145 for (int p = 0 ; p < MUS_PROG_LEN ; ++p) in is_wavetable_used()
181 for (int p = 0 ; p < MUS_PROG_LEN ; ++p) in remove_wavetable()
H A Devent.c1742 for (int i = MUS_PROG_LEN-1; i > mused.current_program_step ; --i) in edit_program_event()
1760 for (int i = mused.current_program_step ; i < MUS_PROG_LEN-1 ; ++i) in edit_program_event()
1762 mused.song.instrument[mused.current_instrument].program[MUS_PROG_LEN-1] = MUS_FX_NOP; in edit_program_event()
1768 if (mused.current_program_step >= MUS_PROG_LEN) in edit_program_event()
1769 mused.current_program_step = MUS_PROG_LEN - 1; in edit_program_event()
H A Dcopypaste.c190 …rument[mused.current_instrument].program[mused.current_program_step], MUS_PROG_LEN - mused.current… in paste()
H A Daction.c367 mused.selection.end = MUS_PROG_LEN; in select_all()
H A Ddiskop.c287 for (int i = 0 ; i < MUS_PROG_LEN ; ++i) in save_instrument_inner()
H A Dview.c845 …for (int i = start, s = 0, y = 0 ; i < MUS_PROG_LEN && y < area.h; ++i, ++s, y += mused.console->f… in program_view()
917 …slider_set_params(&mused.program_slider_param, 0, MUS_PROG_LEN - 1, start, i, &mused.program_posit… in program_view()