| 347 | } |
| 348 | |
| 349 | inline constexpr BitDepth getFloatBitDepth (uint16_t numBits) |
| 350 | { |
| 351 | switch (numBits) |
| 352 | { |
| 353 | case 32: return BitDepth::float32; |
| 354 | case 64: return BitDepth::float64; |
| 355 | default: return BitDepth::unknown; |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | inline std::string_view getSpeakerName (Speaker s) |
| 360 | { |