Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (i=0; i<(int)len; i++) {
- s->buf16[i] = (int16_t)buf[i] - 127;
- }
- printf("buf %x %x, buf16 %x %xn", buf[0],buf[1], s->buf16[0], s->buf16[1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement