feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 9bb8151 was
b60dd4ae,
checked in by Paul Brossier <piem@altern.org>, 20 years ago
|
moved midi functions to ext/
|
-
Property mode set to
100644
|
File size:
851 bytes
|
Line | |
---|
1 | |
---|
2 | #if defined(WIN32) |
---|
3 | #define aubio_curtime() GetTickCount() |
---|
4 | |
---|
5 | double aubio_utime(void); |
---|
6 | |
---|
7 | #elif defined(MACOS9) |
---|
8 | #include <OSUtils.h> |
---|
9 | #include <Timer.h> |
---|
10 | |
---|
11 | unsigned int aubio_curtime(); |
---|
12 | #define aubio_utime() 0.0 |
---|
13 | |
---|
14 | #else |
---|
15 | |
---|
16 | unsigned int aubio_curtime(void); |
---|
17 | double aubio_utime(void); |
---|
18 | |
---|
19 | #endif |
---|
20 | |
---|
21 | /* if the callback function returns 1 the timer will continue; if it |
---|
22 | returns 0 it will stop */ |
---|
23 | typedef int (*aubio_timer_callback_t)(void* data, unsigned int msec); |
---|
24 | |
---|
25 | typedef struct _aubio_timer_t aubio_timer_t; |
---|
26 | |
---|
27 | aubio_timer_t* new_aubio_timer(int msec, aubio_timer_callback_t callback, |
---|
28 | void* data, int new_thread, int auto_destroy); |
---|
29 | |
---|
30 | int delete_aubio_timer(aubio_timer_t* timer); |
---|
31 | int aubio_timer_join(aubio_timer_t* timer); |
---|
32 | int aubio_timer_stop(aubio_timer_t* timer); |
---|
33 | void * aubio_timer_start(void * data); |
---|
34 | void aubio_time_config(void); |
---|
Note: See
TracBrowser
for help on using the repository browser.