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

Function should_reflect_pad

src/framework/audio/chunking.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35 return index;
36}
37
38bool should_reflect_pad(const AudioChunkSpan & span, const AudioChunkSpec & spec) {
39 return spec.pad_mode == AudioChunkPadMode::Reflect &&
40 (spec.reflect_min_valid_samples <= 0 ||
41 span.valid_samples >= spec.reflect_min_valid_samples);
42}
43

Callers 2

copy_planar_chunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected