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

Method deinterleaveAudioBuffer

core/src/core/api_audio_buffer.cpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void CContext::deinterleaveAudioBuffer(IPLfloat32* src,
85 IPLAudioBuffer* dst)
86{
87 if (!src)
88 return;
89
90 AudioBuffer _dst(dst->numChannels, dst->numSamples, dst->data);
91
92 _dst.write(src);
93}
94
95void CContext::mixAudioBuffer(IPLAudioBuffer* in,
96 IPLAudioBuffer* mix)

Callers 5

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected