Mercurial > hg > beaglert
comparison include/Bela.h @ 528:5c8f46fcd4d0 API-update
Updated BelaContext to use separate values for in/ou channels
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 23 Jun 2016 18:17:35 +0100 |
parents | 00725dfc1b87 |
children | bfcbeb437869 |
comparison
equal
deleted
inserted
replaced
527:1c68ad13bbe4 | 528:5c8f46fcd4d0 |
---|---|
204 /// \b Note: this element is available in render() only. | 204 /// \b Note: this element is available in render() only. |
205 uint32_t * const digital; | 205 uint32_t * const digital; |
206 | 206 |
207 /// Number of audio frames per period | 207 /// Number of audio frames per period |
208 const uint32_t audioFrames; | 208 const uint32_t audioFrames; |
209 /// Number of audio channels (currently always 2) | 209 /// Number of input audio channels |
210 const uint32_t audioChannels; | 210 const uint32_t audioInChannels; |
211 /// Number of output audio channels | |
212 const uint32_t audioOutChannels; | |
211 /// Audio sample rate in Hz (currently always 44100.0) | 213 /// Audio sample rate in Hz (currently always 44100.0) |
212 const float audioSampleRate; | 214 const float audioSampleRate; |
213 | 215 |
214 /// \brief Number of analog frames per period | 216 /// \brief Number of analog frames per period |
215 /// | 217 /// |
216 /// This will be 0 if analog I/O is disabled. | 218 /// This will be 0 if analog I/O is disabled. |
217 const uint32_t analogFrames; | 219 const uint32_t analogFrames; |
218 | 220 |
219 /// \brief Number of analog channels | 221 /// \brief Number of input analog channels |
220 /// | 222 /// |
221 /// This could take a value of 8, 4 or 2. This will be 0 if analog I/O is disabled. | 223 /// This will be 0 if analog I/O is disabled. |
222 const uint32_t analogChannels; | 224 const uint32_t analogInChannels; |
225 | |
226 /// \brief Number of output analog channels | |
227 /// | |
228 /// This will be 0 if analog I/O is disabled. | |
229 const uint32_t analogOutChannels; | |
223 | 230 |
224 /// \brief Analog sample rate in Hz | 231 /// \brief Analog sample rate in Hz |
225 /// | 232 /// |
226 /// The analog sample rate depends on the number of analog channels used. If | 233 /// The analog sample rate depends on the number of analog channels used. If |
227 /// 8 channels are used, the sample rate is 22050. If 4 channels are used, the sample | 234 /// 8 channels are used, the sample rate is 22050. If 4 channels are used, the sample |