Searched refs:volume_scaler (Results 1 – 10 of 10) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_mix_ops.c | 80 float volume_scaler) in copy_scaled_s16_le() argument 84 if (volume_scaler > MAX_VOLUME_TO_SCALE) { in copy_scaled_s16_le() 90 dst[i] = src[i] * volume_scaler; in copy_scaled_s16_le() 271 float volume_scaler) in copy_scaled_s24_le() argument 275 if (volume_scaler > MAX_VOLUME_TO_SCALE) { in copy_scaled_s24_le() 281 dst[i] = scale_s24_le(src[i], volume_scaler); in copy_scaled_s24_le() 439 float volume_scaler) in copy_scaled_s32_le() argument 443 if (volume_scaler > MAX_VOLUME_TO_SCALE) { in copy_scaled_s32_le() 449 dst[i] = src[i] * volume_scaler; in copy_scaled_s32_le() 632 float volume_scaler) in copy_scaled_s24_3le() argument [all …]
|
/external/adhd/cras/src/common/ |
D | cras_shm.h | 57 float volume_scaler; member 495 float volume_scaler) in cras_shm_set_volume_scaler() argument 497 volume_scaler = MAX(volume_scaler, 0.0); in cras_shm_set_volume_scaler() 498 shm->header->volume_scaler = MIN(volume_scaler, 1.0); in cras_shm_set_volume_scaler() 504 return shm->header->volume_scaler; in cras_shm_get_volume_scaler()
|
/external/adhd/cras/src/tools/cras_router/ |
D | cras_router.c | 117 float volume_scaler = 1.0; in run_file_io_stream() local 136 start_stream(client, &stream_id, params, volume_scaler) == 0; in run_file_io_stream() 152 volume_scaler) == 0; in run_file_io_stream()
|
/external/adhd/cras/src/tools/cras_test_client/ |
D | cras_test_client.c | 1070 float volume_scaler = 1.0; in run_file_io_stream() local 1143 start_stream(client, &stream_id, params, volume_scaler) == 0; in run_file_io_stream() 1195 volume_scaler) == 0; in run_file_io_stream() 1204 volume_scaler = MIN(volume_scaler + 0.1, 1.0); in run_file_io_stream() 1206 volume_scaler); in run_file_io_stream() 1209 volume_scaler = MAX(volume_scaler - 0.1, 0.0); in run_file_io_stream() 1211 volume_scaler); in run_file_io_stream()
|
/external/adhd/cras/src/libcras/ |
D | cras_client.c | 80 float volume_scaler; member 161 float volume_scaler; member 1424 cras_shm_set_volume_scaler(stream->shm, stream->volume_scaler); in stream_connected() 1590 float volume_scaler) in client_thread_set_stream_volume() argument 1595 if (stream == NULL || volume_scaler > 1.0 || volume_scaler < 0.0) in client_thread_set_stream_volume() 1598 stream->volume_scaler = volume_scaler; in client_thread_set_stream_volume() 1600 cras_shm_set_volume_scaler(stream->shm, volume_scaler); in client_thread_set_stream_volume() 1905 vol_msg->volume_scaler); in handle_command_message() 2030 float volume_scaler) in send_stream_volume_command_msg() argument 2037 msg.volume_scaler = volume_scaler; in send_stream_volume_command_msg() [all …]
|
D | cras_client.h | 675 float volume_scaler);
|
/external/adhd/cras/src/tests/ |
D | shm_unittest.cc | 206 EXPECT_EQ(shm_.header->volume_scaler, 1.0); in TEST_F() 208 EXPECT_EQ(shm_.header->volume_scaler, 1.0); in TEST_F() 210 EXPECT_EQ(shm_.header->volume_scaler, 0.0); in TEST_F() 212 EXPECT_EQ(shm_.header->volume_scaler, 0.5); in TEST_F()
|
D | cras_client_unittest.cc | 363 EXPECT_EQ(1.0f, cmd_msg.stream->volume_scaler); in TEST()
|
D | iodev_unittest.cc | 841 float volume_scaler = 0.435; in TEST() local 860 softvol_scalers[volume] = volume_scaler; in TEST() 878 softvol_scalers[volume] = volume_scaler; in TEST()
|
/external/adhd/cras/client/cras-sys/src/ |
D | gen.rs | 4455 pub volume_scaler: f32, field 4546 &(*(::std::ptr::null::<cras_audio_shm_header>())).volume_scaler as *const _ as usize in bindgen_test_layout_cras_audio_shm_header() 4553 stringify!(volume_scaler) in bindgen_test_layout_cras_audio_shm_header()
|