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

Method copyDeviceToHost

core/src/core/opencl_impulse_response.cpp:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void OpenCLImpulseResponse::copyDeviceToHost()
75{
76 for (auto i = 0; i < numChannels(); ++i)
77 {
78 clEnqueueReadBuffer(mOpenCL->irUpdateQueue(), mChannelBuffers[i], CL_TRUE, 0, mSize,
79 &mData.flatData()[i * numSamples()], 0, nullptr, nullptr);
80 }
81}
82
83void OpenCLImpulseResponse::copyHostToDevice()
84{

Callers

nothing calls this directly

Calls 2

irUpdateQueueMethod · 0.80
flatDataMethod · 0.45

Tested by

no test coverage detected