Mercurial > hg > beaglert
comparison include/RTAudio.h @ 12:a6beeba3a648
Initial support for higher matrix sample rates by reducing the number of channels. Input not tested yet, and not all examples updated to new format.
author | andrewm |
---|---|
date | Thu, 22 Jan 2015 19:00:22 +0000 |
parents | 09f03ac40fcc |
children | 670be80463a3 |
comparison
equal
deleted
inserted
replaced
11:517715b23df0 | 12:a6beeba3a648 |
---|---|
41 int periodSize; // Number of (matrix) frames per period; audio is twice this | 41 int periodSize; // Number of (matrix) frames per period; audio is twice this |
42 int beginMuted; // Whether to begin with the speakers muted | 42 int beginMuted; // Whether to begin with the speakers muted |
43 float dacLevel; // Level for the audio DAC output | 43 float dacLevel; // Level for the audio DAC output |
44 float adcLevel; // Level for the audio ADC input | 44 float adcLevel; // Level for the audio ADC input |
45 float headphoneLevel; // Level for the headphone output | 45 float headphoneLevel; // Level for the headphone output |
46 int useMatrix; // Whether to enable the ADC and DAC | 46 int useMatrix; // Whether to use the matrix |
47 int numMatrixChannels; // How many channels for the ADC and DAC | |
47 int verbose; // Whether to use verbose logging | 48 int verbose; // Whether to use verbose logging |
48 | 49 |
49 // These items are hardware-dependent and should only be changed | 50 // These items are hardware-dependent and should only be changed |
50 // to run on different hardware | 51 // to run on different hardware |
51 int codecI2CAddress; // Where the codec can be found on the I2C bus | 52 int codecI2CAddress; // Where the codec can be found on the I2C bus |