EmergingEzaudio.count.of: def of emerging-ezaudio@0.4.0.0 Import: import emerging-ezaudio@0.4.0.0/main.bend as EmergingEzaudio Lines 85-90 of emerging-ezaudio@0.4.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezaudio@0.4.0.0/main.bend&start_line=85&end_line=90 import Base def count.of(+channels: U32, +nsamples: U32) -> U32: match channels: case 0: 0 case _: U32.div(nsamples, channels) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil