XXX: should use more abstract 'N' channels system */
| 105 | |
| 106 | /* XXX: should use more abstract 'N' channels system */ |
| 107 | static void stereo_split(short *output1, short *output2, short *input, int n) |
| 108 | { |
| 109 | int i; |
| 110 | |
| 111 | for(i=0;i<n;i++) { |
| 112 | *output1++ = *input++; |
| 113 | *output2++ = *input++; |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | static void stereo_mux(short *output, short *input1, short *input2, int n) |
| 118 | { |