Replace sox conversion macros with Tensor op (#1370)
`SOX_SIGNED_16BIT_TO_SAMPLE` and `SOX_SIGNED_32BIT_TO_SAMPLE` uses left shift on signed integers, (negative values) which is UB. This PR replaces them (and other sox macros for `uint8` and `float` as well) with Tensor operations.
Showing
Please register or sign in to comment