MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / readBuffer

Method readBuffer

Source/Amiga/paula.cpp:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86int Paula::readBuffer(int16 *buffer, const int numSamples) {
87
88 //memset(buffer, 0, numSamples * 2);
89 if (!_playing) {
90 return numSamples;
91 }
92
93 if (_stereo)
94 return readBufferIntern<true>(buffer, numSamples);
95 else
96 return readBufferIntern<false>(buffer, numSamples);
97}
98
99/* Denormals are very small floating point numbers that force FPUs into slow
100 * mode. All lowpass filters using floats are suspectible to denormals unless

Callers 1

audioBufferFillMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected