MCPcopy Create free account
hub / github.com/SFML/SFML / onProcessSamples

Method onProcessSamples

src/SFML/Audio/SoundBufferRecorder.cpp:58–63  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

56
57////////////////////////////////////////////////////////////
58bool SoundBufferRecorder::onProcessSamples(const std::int16_t* samples, std::size_t sampleCount)
59{
60 std::copy(samples, samples + sampleCount, std::back_inserter(m_samples));
61
62 return true;
63}
64
65
66////////////////////////////////////////////////////////////

Callers 1

initializeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected