| 2362 | #endif // USE_TLS |
| 2363 | |
| 2364 | static inline uint32_t uint_val(const char *ptr) |
| 2365 | { |
| 2366 | // Read as little-endian. Do not dereference as int, since it can be misaligned. |
| 2367 | return static_cast<uint32_t>((ptr[0]) | (ptr[1] << 8) | (ptr[2] << 16) | (ptr[3] << 24)); |
| 2368 | } |
| 2369 | |
| 2370 | // wav format details: |
| 2371 | // https://www.fatalerrors.org/a/detailed-explanation-of-wav-file-format.html |
no outgoing calls
no test coverage detected