Mercurial > hg > beaglert
diff examples/basic_libpd/z_libpd.h @ 342:860c42b3830e prerelease
Updated basic_libpd, now slightly more efficient with less memory operations. Requires the API change in libpd operated in libpd:99a2be8
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 06 Jun 2016 12:21:38 +0100 |
parents | dbeed520b014 |
children |
line wrap: on
line diff
--- a/examples/basic_libpd/z_libpd.h Mon Jun 06 03:31:22 2016 +0100 +++ b/examples/basic_libpd/z_libpd.h Mon Jun 06 12:21:38 2016 +0100 @@ -29,6 +29,9 @@ EXTERN int libpd_blocksize(void); EXTERN int libpd_init_audio(int inChans, int outChans, int sampleRate); EXTERN int libpd_process_raw(const float *inBuffer, float *outBuffer); +EXTERN t_sample* libpd_get_sys_soundin(); +EXTERN t_sample* libpd_get_sys_soundout(); +EXTERN int libpd_process_sys(); EXTERN int libpd_process_short(const int ticks, const short *inBuffer, short *outBuffer); EXTERN int libpd_process_float(int ticks, @@ -108,6 +111,7 @@ EXTERN void libpd_set_polyaftertouchhook(const t_libpd_polyaftertouchhook hook); EXTERN void libpd_set_midibytehook(const t_libpd_midibytehook hook); EXTERN void libpd_sys_microsleep(int sleep); + #ifdef __cplusplus } #endif