Mercurial > hg > beaglert
comparison include/render.h @ 13:6adb088196a7
Fixed ADC bug; added a simple passthrough test
author | andrewm |
---|---|
date | Fri, 23 Jan 2015 15:17:09 +0000 |
parents | a6beeba3a648 |
children | 670be80463a3 |
comparison
equal
deleted
inserted
replaced
12:a6beeba3a648 | 13:6adb088196a7 |
---|---|
31 #define ADC_PIN6 6 | 31 #define ADC_PIN6 6 |
32 #define ADC_PIN7 7 | 32 #define ADC_PIN7 7 |
33 | 33 |
34 #define MATRIX_MAX 65535.0 | 34 #define MATRIX_MAX 65535.0 |
35 | 35 |
36 extern int gNumAudioChannels; // How many audio channels are present | |
37 extern int gNumMatrixChannels; // How many matrix channels are present | |
38 | |
36 bool initialise_render(int numMatrixChannels, int numAudioChannels, | 39 bool initialise_render(int numMatrixChannels, int numAudioChannels, |
37 int numMatrixFramesPerPeriod, | 40 int numMatrixFramesPerPeriod, |
38 int numAudioFramesPerPeriod, | 41 int numAudioFramesPerPeriod, |
39 float matrixSampleRate, float audioSampleRate, | 42 float matrixSampleRate, float audioSampleRate, |
40 void *userData); | 43 void *userData); |