comparison include/PRU.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 5c8f46fcd4d0
comparison
equal deleted inserted replaced
310:02c4ca0e3718 311:493a07f6ec09
85 /// Currently this will always be 16, unless digital I/O is disabled, in which case it will be 0. 85 /// Currently this will always be 16, unless digital I/O is disabled, in which case it will be 0.
86 uint32_t digitalChannels; 86 uint32_t digitalChannels;
87 /// Digital sample rate in Hz (currently always 44100.0) 87 /// Digital sample rate in Hz (currently always 44100.0)
88 float digitalSampleRate; 88 float digitalSampleRate;
89 89
90 /// \brief Number of elapsed audio samples since the start of rendering. 90 /// \brief Number of elapsed audio frames since the start of rendering.
91 /// 91 ///
92 /// This holds the total number of audio samples as of the beginning of the current period. To 92 /// This holds the total number of audio frames as of the beginning of the current period. To
93 /// find the current number of analog or digital samples elapsed, multiply by the ratio of the 93 /// find the current number of analog or digital frames elapsed, multiply by the ratio of the
94 /// sample rates (e.g. half the number of analog samples will have elapsed if the analog sample 94 /// sample rates (e.g. half the number of analog frames will have elapsed if the analog sample
95 /// rate is 22050). 95 /// rate is 22050).
96 uint64_t audioSampleCount; 96 uint64_t audioFramesElapsed;
97 97
98 /// \brief Other audio/sensor settings 98 /// \brief Other audio/sensor settings
99 /// 99 ///
100 /// Binary combination of flags including: 100 /// Binary combination of flags including:
101 /// 101 ///