globally change all use of "frame" to refer to audio into "sample".

Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
This commit is contained in:
Paul Davis 2017-09-18 12:39:17 -04:00
parent cb956e3e48
commit 30b087ab3d
577 changed files with 9003 additions and 8997 deletions

View file

@ -237,14 +237,14 @@ AlsaAudioSlave::process_thread ()
}
/* possible samples at end of first buffer chunk,
* incomplete audio-frame */
* incomplete audio-sample */
uint32_t s = vec.len[0] - k * nchn;
assert (s < nchn);
for (c = 0; c < s; ++c) {
_pcmi.capt_chan (c, vec.buf[0] + k * nchn + c, 1, nchn);
}
/* cont'd audio-frame at second ringbuffer chunk */
/* cont'd audio-sample at second ringbuffer chunk */
for (; c < nchn; ++c) {
_pcmi.capt_chan (c, vec.buf[1] + c - s, spp - k, nchn);
}