MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / planar_index

Function planar_index

src/framework/audio/chunking.cpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 (spec.reflect_min_valid_samples <= 0 ||
41 span.valid_samples >= spec.reflect_min_valid_samples);
42}
43
44size_t planar_index(int64_t lane, int64_t frame, int64_t frames) {
45 return static_cast<size_t>(lane * frames + frame);
46}
47

Callers 3

weight_indexFunction · 0.85
overlap_add_planar_chunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected