MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / SetUserFilterFunction

Method SetUserFilterFunction

extensions/olcPGEX_Sound.h:329–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 }
328
329 void SOUND::SetUserFilterFunction(std::function<float(int, float, float)> func)
330 {
331 funcUserFilter = func;
332 }
333
334 // Load a 16-bit WAVE file @ 44100Hz ONLY into memory. A sample ID
335 // number is returned if successful, otherwise -1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected