Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. static void channels_process_sound_chan_swap(int count, int32_t *buf[])
  2. {
  3.     int32_t *sl = buf[0], *sr = buf[1];
  4.  
  5.     while (count-- > 0)
  6.     {
  7.         int32_t ch = *sl;
  8.         *sl++ = *sr;
  9.         *sr++ = ch;
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement