Commit 211329c
Benjamin Moody
wr_dat_file: sanity-check samps_per_frame and e_d_signal.
If expanded is true, then e_d_signal and samps_per_frame must have the
same length (one entry in e_d_signal corresponds to one entry in
samps_per_frame). The length of each channel must be a multiple of
the number of samples per frame, and every channel must have the same
number of frames. Add sanity checks to verify that the values
provided by the caller make sense.1 parent 132d097 commit 211329c
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2288 | 2288 | | |
2289 | 2289 | | |
2290 | 2290 | | |
2291 | | - | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
2292 | 2299 | | |
2293 | 2300 | | |
2294 | 2301 | | |
| |||
0 commit comments