Home
last modified time | relevance | path

Searched refs:mix_vol (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/server/
Dcras_mix_ops.c144 unsigned int index, int mute, float mix_vol) in cras_mix_add_s16_le() argument
149 if (mute || (mix_vol < MIN_VOLUME_TO_SCALE)) { in cras_mix_add_s16_le()
156 return copy_scaled_s16_le(out, in, count, mix_vol); in cras_mix_add_s16_le()
158 scale_add_clip_s16_le(out, in, count, mix_vol); in cras_mix_add_s16_le()
335 unsigned int index, int mute, float mix_vol) in cras_mix_add_s24_le() argument
340 if (mute || (mix_vol < MIN_VOLUME_TO_SCALE)) { in cras_mix_add_s24_le()
347 return copy_scaled_s24_le(out, in, count, mix_vol); in cras_mix_add_s24_le()
349 scale_add_clip_s24_le(out, in, count, mix_vol); in cras_mix_add_s24_le()
503 unsigned int index, int mute, float mix_vol) in cras_mix_add_s32_le() argument
508 if (mute || (mix_vol < MIN_VOLUME_TO_SCALE)) { in cras_mix_add_s32_le()
[all …]
Dcras_mix.c62 float mix_vol) in cras_mix_add() argument
64 ops->add(fmt, dst, src, count, index, mute, mix_vol); in cras_mix_add()
Dcras_mix.h59 float mix_vol);
Dcras_mix_ops.h40 float mix_vol);
Ddev_stream.c190 float mix_vol; in dev_stream_mix() local
201 mix_vol = cras_rstream_get_volume_scaler(dev_stream->stream); in dev_stream_mix()
224 cras_rstream_get_mute(rstream), mix_vol); in dev_stream_mix()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc78 float mix_vol; member
1238 float mix_vol) { in cras_mix_add() argument
1244 mix_add_call.mix_vol = mix_vol; in cras_mix_add()