| 84 | } |
| 85 | |
| 86 | int 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 |