-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcsound_pt.h
33 lines (27 loc) · 855 Bytes
/
csound_pt.h
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
#ifndef CSOUND_PT_H
#define CSOUND_PT_H
#ifdef __cplusplus
extern "C" {
#endif
typedef void* Cpt;
Cpt NewCsoundPT(CSOUND *);
void DeleteCsoundPT(Cpt pt);
int CsoundPTisRunning(Cpt pt);
void CsoundPTsetProcessCB(Cpt pt, void *cbData);
CSOUND *CsoundPTgetCsound(Cpt pt);
int CsoundPTgetStatus(Cpt pt);
void CsoundPTplay(Cpt pt);
void CsoundPTpause(Cpt pt);
void CsoundPTtogglePause(Cpt pt);
void CsoundPTstop(Cpt pt);
void CsoundPTrecord(Cpt pt, const char *filename, int samplebits, int numbufs);
void CsoundPTstopRecord(Cpt pt);
void CsoundPTscoreEvent(Cpt pt, int absp2mode, char opcod, int pcnt, MYFLT *p);
void CsoundPTinputMessage(Cpt pt, const char *s);
void CsoundPTsetScoreOffsetSeconds(Cpt pt, double timeVal);
int CsoundPTjoin(Cpt pt);
void CsoundPTflushMessageQueue(Cpt pt);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // CSOUND_PT_H