mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
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:
parent
cb956e3e48
commit
30b087ab3d
577 changed files with 9003 additions and 8997 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue