def count

emerging-ezaudio@0.4.0.0 · main.bend:92

import emerging-ezaudio@0.4.0.0/main.bend as EmergingEzaudio
import Base

92# how many frames. zero channels count as none.
93def count(c: Clip) -> U32:
94  match c:
95    case Clip{_hz, +nch, _fmt, +pcm}:
96      count.of(nch, U32.from_nat(List.length(&2, U32, pcm)))

Uses (5)

Used by (0)

No other definition uses this definition.