Mercurial > hg > beaglert
annotate examples/04-Audio/samples/SampleData.h @ 464:8fcfbfb32aa0 prerelease
Examples reorder with subdirectories. Added header to each project. Moved Doxygen to bottom of render.cpp.
author | Robert Jack <robert.h.jack@gmail.com> |
---|---|
date | Mon, 20 Jun 2016 16:20:38 +0100 |
parents | |
children |
rev | line source |
---|---|
robert@464 | 1 /* |
robert@464 | 2 * SampleData.h |
robert@464 | 3 * |
robert@464 | 4 * Created on: Nov 5, 2014 |
robert@464 | 5 * Author: Victor Zappi |
robert@464 | 6 */ |
robert@464 | 7 |
robert@464 | 8 #ifndef SAMPLEDATA_H_ |
robert@464 | 9 #define SAMPLEDATA_H_ |
robert@464 | 10 |
robert@464 | 11 // User defined structure to pass between main and rendere complex data retrieved from file |
robert@464 | 12 struct SampleData { |
robert@464 | 13 float *samples; // Samples in file |
robert@464 | 14 int sampleLen; // Total nume of samples |
robert@464 | 15 }; |
robert@464 | 16 |
robert@464 | 17 |
robert@464 | 18 |
robert@464 | 19 #endif /* SAMPLEDATA_H_ */ |