()
| 227 | |
| 228 | #[test] |
| 229 | fn test_encode_wav_byte_rate() { |
| 230 | let wav = encode_wav_bytes(&[0.0], 44100); |
| 231 | let byte_rate = u32::from_le_bytes([wav[28], wav[29], wav[30], wav[31]]); |
| 232 | assert_eq!(byte_rate, 44100 * 2); // 16-bit mono |
| 233 | } |
| 234 | |
| 235 | // ── save_wav ──────────────────────────────────────────────── |
| 236 |
nothing calls this directly
no test coverage detected