Mercurial > mplayer.hg
comparison libao2/pl_surround.c @ 3718:d358dc143a9e
error for non-stereo surrounds
author | steve |
---|---|
date | Mon, 24 Dec 2001 18:54:58 +0000 |
parents | 26126e5c3532 |
children | 8336b1cf8d70 |
comparison
equal
deleted
inserted
replaced
3717:4d203a427987 | 3718:d358dc143a9e |
---|---|
227 pl_surround.Ls_delaybuf[pl_surround.delaybuf_pos] = | 227 pl_surround.Ls_delaybuf[pl_surround.delaybuf_pos] = |
228 matrix[6]*in[0] + matrix[7]*in[1]; | 228 matrix[6]*in[0] + matrix[7]*in[1]; |
229 pl_surround.Rs_delaybuf[pl_surround.delaybuf_pos++] = | 229 pl_surround.Rs_delaybuf[pl_surround.delaybuf_pos++] = |
230 matrix[8]*in[0] + matrix[9]*in[1]; | 230 matrix[8]*in[0] + matrix[9]*in[1]; |
231 #else | 231 #else |
232 pl_surround.Ls_delaybuf[pl_surround.delaybuf_pos] = | 232 pl_surround.Ls_delaybuf[pl_surround.delaybuf_pos++] = |
233 matrix[4]*in[0] + matrix[5]*in[1]; | 233 matrix[4]*in[0] + matrix[5]*in[1]; |
234 #endif | 234 #endif |
235 pl_surround.delaybuf_pos %= pl_surround.delaybuf_len; | 235 pl_surround.delaybuf_pos %= pl_surround.delaybuf_len; |
236 | 236 |
237 // next samples... | 237 // next samples... |