|
|
@ -150,7 +150,7 @@ void Dexed::getSamples(uint16_t n_samples, int16_t* buffer) |
|
|
|
{ |
|
|
|
{ |
|
|
|
//sumbuf[i + j] += static_cast<float>(signed_saturate_rshift(audiobuf.get()[j] >> 4, 24, 9)) / 0x8000;
|
|
|
|
//sumbuf[i + j] += static_cast<float>(signed_saturate_rshift(audiobuf.get()[j] >> 4, 24, 9)) / 0x8000;
|
|
|
|
//sumbuf[i + j] += static_cast<float>(signed_saturate_rshift(audiobuf.get()[j] >> 5, 24, 9)) / 0x8000;
|
|
|
|
//sumbuf[i + j] += static_cast<float>(signed_saturate_rshift(audiobuf.get()[j] >> 5, 24, 9)) / 0x8000;
|
|
|
|
sumbuf[i + j] += static_cast<float>(signed_saturate_rshift(audiobuf.get()[j], 32, 13)) / 0x8000; |
|
|
|
sumbuf[i + j] += static_cast<float>(signed_saturate_rshift(audiobuf.get()[j], 32, 12)) / 0x8000; |
|
|
|
//sumbuf[i + j] += static_cast<float>(audiobuf.get()[j] / 0x8000);
|
|
|
|
//sumbuf[i + j] += static_cast<float>(audiobuf.get()[j] / 0x8000);
|
|
|
|
audiobuf.get()[j] = 0; |
|
|
|
audiobuf.get()[j] = 0; |
|
|
|
} |
|
|
|
} |
|
|
|