Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util/Clooper/SoundClient.h
blob: a946ced732c93d979a89657c082571dc04094d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

#ifndef MYFLT
# define MYFLT float
# define DEF_MYFLT
#endif

#ifdef __cplusplus
extern "C"
{
#endif
    void sc_destroy();
    int sc_initialize(char * csd);
    int sc_start();
    int sc_stop();
    void sc_setMasterVolume(float);
    void sc_inputMessage(const char *msg);
    void sc_scoreEvent4(char type, MYFLT p0, MYFLT p1, MYFLT p2, MYFLT p3);
    void sc_scoreEvent15(char type, MYFLT p1, MYFLT p2, MYFLT p3, MYFLT p4, MYFLT p5, MYFLT p6, MYFLT p7, MYFLT p8, MYFLT p9, MYFLT p10, MYFLT p11, MYFLT p12, MYFLT p13, MYFLT p14, MYFLT p15);

    void sc_loop_addScoreEvent15(int in_ticks, char type, MYFLT p1, MYFLT p2, MYFLT p3, MYFLT p4, MYFLT p5, MYFLT p6, MYFLT p7, MYFLT p8, MYFLT p9, MYFLT p10, MYFLT p11, MYFLT p12, MYFLT p13, MYFLT p14, MYFLT p15);
    void sc_loop_clear();
    int sc_loop_getTick();
    void sc_loop_playing(int tf);
    void sc_loop_setNumTicks(int nticks);
    void sc_loop_setTick(int ctick);
    void sc_loop_setTickDuration(MYFLT secs_per_tick);
#ifdef __cplusplus
}
#endif

#ifdef DEF_MYFLT
# undef MYFLT
# undef DEF_MYFLT
#endif