Making ComplexBitMap a POD part 1

This commit is contained in:
Jaby
2022-09-11 11:36:51 +02:00
committed by Jaby
parent 0589f7bf2f
commit 72160f209b
9 changed files with 386 additions and 238 deletions

View File

@@ -34,7 +34,7 @@ namespace SPU {
//4096 == 44100Hz
constexpr double Base = (4096.0 / 44100.0);
return ComplexBitMap(static_cast<uint16_t>((freq*Base)));
return ComplexBitMap<uint16_t>{static_cast<uint16_t>((freq*Base))};
}
};