Mercurial > hg > beaglert
view examples/samples/SampleData.h @ 343:4823ee13bcac prerelease
basic_libpd now populates pd's audio buffers directly. Updated libpd.so binary. This required an API change with respect to standard libpdAPI because for some strange reason, accessing sys_audioin and sys_audioout directly from the render.cpp file would return invalid values.
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 06 Jun 2016 15:15:15 +0100 |
parents | dbeed520b014 |
children |
line wrap: on
line source
/* * SampleData.h * * Created on: Nov 5, 2014 * Author: Victor Zappi */ #ifndef SAMPLEDATA_H_ #define SAMPLEDATA_H_ // User defined structure to pass between main and rendere complex data retrieved from file struct SampleData { float *samples; // Samples in file int sampleLen; // Total nume of samples }; #endif /* SAMPLEDATA_H_ */