Lines Matching defs:Mix
109 void Mix(Channels input_ch, Channels output_ch, float scale);
135 // Stereo down mix should never be the output layout.
198 // Mix front LR into center.
206 Mix(LEFT, CENTER, scale);
207 Mix(RIGHT, CENTER, scale);
210 // Mix center into front LR.
216 Mix(CENTER, RIGHT, scale);
219 // Mix back LR into: side LR || back center || front LR || front center.
222 // If we have side LR, mix back LR into side LR, but instead if the input
225 Mix(BACK_LEFT, SIDE_LEFT, scale);
226 Mix(BACK_RIGHT, SIDE_RIGHT, scale);
228 // Mix back LR into back center.
229 Mix(BACK_LEFT, BACK_CENTER, kEqualPowerScale);
230 Mix(BACK_RIGHT, BACK_CENTER, kEqualPowerScale);
232 // Mix back LR into front LR.
233 Mix(BACK_LEFT, LEFT, kEqualPowerScale);
234 Mix(BACK_RIGHT, RIGHT, kEqualPowerScale);
236 // Mix back LR into front center.
237 Mix(BACK_LEFT, CENTER, kEqualPowerScale);
238 Mix(BACK_RIGHT, CENTER, kEqualPowerScale);
242 // Mix side LR into: back LR || back center || front LR || front center.
245 // If we have back LR, mix side LR into back LR, but instead if the input
248 Mix(SIDE_LEFT, BACK_LEFT, scale);
249 Mix(SIDE_RIGHT, BACK_RIGHT, scale);
251 // Mix side LR into back center.
252 Mix(SIDE_LEFT, BACK_CENTER, kEqualPowerScale);
253 Mix(SIDE_RIGHT, BACK_CENTER, kEqualPowerScale);
255 // Mix side LR into front LR.
256 Mix(SIDE_LEFT, LEFT, kEqualPowerScale);
257 Mix(SIDE_RIGHT, RIGHT, kEqualPowerScale);
259 // Mix side LR into front center.
260 Mix(SIDE_LEFT, CENTER, kEqualPowerScale);
261 Mix(SIDE_RIGHT, CENTER, kEqualPowerScale);
265 // Mix back center into: back LR || side LR || front LR || front center.
268 // Mix back center into back LR.
270 Mix(BACK_CENTER, BACK_RIGHT, kEqualPowerScale);
272 // Mix back center into side LR.
274 Mix(BACK_CENTER, SIDE_RIGHT, kEqualPowerScale);
276 // Mix back center into front LR.
279 Mix(BACK_CENTER, RIGHT, kEqualPowerScale);
281 // Mix back center into front center.
283 Mix(BACK_CENTER, CENTER, kEqualPowerScale);
287 // Mix LR of center into: front center || front LR.
290 // Mix LR of center into front LR.
291 Mix(LEFT_OF_CENTER, LEFT, kEqualPowerScale);
292 Mix(RIGHT_OF_CENTER, RIGHT, kEqualPowerScale);
294 // Mix LR of center into front center.
295 Mix(LEFT_OF_CENTER, CENTER, kEqualPowerScale);
296 Mix(RIGHT_OF_CENTER, CENTER, kEqualPowerScale);
300 // Mix LFE into: front LR || front center.
303 // Mix LFE into front LR.
305 Mix(LFE, RIGHT, kEqualPowerScale);
307 // Mix LFE into front center.
308 Mix(LFE, CENTER, kEqualPowerScale);
389 void MatrixBuilder::Mix(Channels input_ch, Channels output_ch, float scale) {