Mercurial > hg > beaglert
comparison include/Bela.h @ 311:493a07f6ec09 prerelease
Renamed BelaContext->audioSampleCount to BelaContext->audioFramesElapsed for consistency of terminology
author | andrewm |
---|---|
date | Fri, 27 May 2016 18:37:51 +0100 |
parents | ff5f346a293e |
children | 00725dfc1b87 |
comparison
equal
deleted
inserted
replaced
310:02c4ca0e3718 | 311:493a07f6ec09 |
---|---|
241 /// Currently this will always be 16, unless digital I/O is disabled, in which case it will be 0. | 241 /// Currently this will always be 16, unless digital I/O is disabled, in which case it will be 0. |
242 const uint32_t digitalChannels; | 242 const uint32_t digitalChannels; |
243 /// Digital sample rate in Hz (currently always 44100.0) | 243 /// Digital sample rate in Hz (currently always 44100.0) |
244 const float digitalSampleRate; | 244 const float digitalSampleRate; |
245 | 245 |
246 /// \brief Number of elapsed audio samples since the start of rendering. | 246 /// \brief Number of elapsed audio frames since the start of rendering. |
247 /// | 247 /// |
248 /// This holds the total number of audio samples as of the beginning of the current period. To | 248 /// This holds the total number of audio frames as of the beginning of the current period. To |
249 /// find the current number of analog or digital samples elapsed, multiply by the ratio of the | 249 /// find the current number of analog or digital frames elapsed, multiply by the ratio of the |
250 /// sample rates (e.g. half the number of analog samples will have elapsed if the analog sample | 250 /// sample rates (e.g. half the number of analog frames will have elapsed if the analog sample |
251 /// rate is 22050). | 251 /// rate is 22050). |
252 const uint64_t audioSampleCount; | 252 const uint64_t audioFramesElapsed; |
253 | 253 |
254 /// \brief Other audio/sensor settings | 254 /// \brief Other audio/sensor settings |
255 /// | 255 /// |
256 /// Binary combination of flags including: | 256 /// Binary combination of flags including: |
257 /// | 257 /// |