Commit 768d833
Benjamin Moody
Record.wrsamp: ignore samps_per_frame when expanded is false.
When the expanded argument to wrsamp is false, we are writing the
d_signal data, which contains one sample per frame by definition.
Therefore, the header file must not claim that the signal files will
contain multiple samples per frame.
The samps_per_frame attribute of the Record object may or may not be
set appropriately for the actual data contained in the Record object;
for example, rdrecord(r, smooth_frames=True) will set samps_per_frame
according to the number of samples per frame in the original record.1 parent cac2af6 commit 768d833
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
293 | 297 | | |
294 | 298 | | |
295 | 299 | | |
| |||
305 | 309 | | |
306 | 310 | | |
307 | 311 | | |
| 312 | + | |
| 313 | + | |
308 | 314 | | |
309 | 315 | | |
310 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
924 | 924 | | |
925 | 925 | | |
926 | 926 | | |
927 | | - | |
| 927 | + | |
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
| |||
0 commit comments