| 46 | } |
| 47 | |
| 48 | static uint32_t reinterpretAsUint32(float f) |
| 49 | { |
| 50 | static_assert(sizeof(float) == sizeof(uint32_t), "Cannot reinterpret float to uint32_t since sizes are different."); |
| 51 | |
| 52 | uint32_t x; |
| 53 | std::memcpy(&x, &f, sizeof(uint32_t)); |
| 54 | return x; |
| 55 | } |
| 56 | |
| 57 | typedef AEffect *(*vstPluginMain)(audioMasterCallback audioMaster); |
| 58 |