MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / phase

Method phase

core/src/core/vdsp_array_math.cpp:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void ArrayMath::phase(int size, const complex_t* in, float* out)
156{
157 auto inSplit = getSplitComplex(in);
158
159 vDSP_zvphas(&inSplit, 2, out, 1, size);
160}
161
162void ArrayMath::polarToCartesian(int size, const float* inMagnitude, const float* inPhase, complex_t* out)
163{

Callers

nothing calls this directly

Calls 1

getSplitComplexFunction · 0.85

Tested by

no test coverage detected