Home
last modified time | relevance | path

Searched refs:max_volume (Results 1 – 23 of 23) sorted by relevance

/external/adhd/cras/tools/
Dcreate_volume_curve.py9 def GenerateSimpleStep(name, max_volume, step_size): argument
12 print ' ; simple_step curve, max %d, step %d' % (max_volume, step_size)
15 print ' max_volume = %d' % max_volume
33 def GenerateTwoSlope(name, max_volume, step_1, step_2, pivot_point): argument
37 (max_volume, pivot_point, step_1, step_2))
40 WriteExplicitCurveVal(100 - i, max_volume - step_1 * i)
41 pivot_dB_val = max_volume - step_1 * (100 - pivot_point)
42 WriteExplicitCurveVal(pivot_point, max_volume - step_1 * (100 - pivot_point))
54 max_volume = int(raw_input(">"))
57 GenerateSimpleStep(jack_name, max_volume, step_size)
[all …]
/external/adhd/cras/src/server/config/
Dcras_card_config.c22 int max_volume; in create_simple_step_curve() local
27 max_volume = iniparser_getint(card_config->ini, ini_key, 0); in create_simple_step_curve()
32 return cras_volume_curve_create_simple_step(max_volume, volume_step); in create_simple_step_curve()
/external/adhd/cras/src/server/
Dcras_volume_curve.c52 struct cras_volume_curve *cras_volume_curve_create_simple_step(long max_volume, in cras_volume_curve_create_simple_step() argument
60 curve->max_vol = max_volume; in cras_volume_curve_create_simple_step()
Dcras_volume_curve.h37 cras_volume_curve_create_simple_step(long max_volume, long volume_step);
/external/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc586 uint32_t max_volume; in SetMaxPlayoutVolume() local
587 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume)); in SetMaxPlayoutVolume()
588 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume)); in SetMaxPlayoutVolume()
627 uint32_t max_volume(0); in GetMaxSpeakerVolume() local
628 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume)); in GetMaxSpeakerVolume()
629 return max_volume; in GetMaxSpeakerVolume()
823 const int max_volume = GetMaxSpeakerVolume(); in TEST_F() local
824 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume)); in TEST_F()
826 EXPECT_EQ(new_volume, max_volume); in TEST_F()
Daudio_track_jni.cc208 int AudioTrackJni::MaxSpeakerVolume(uint32_t& max_volume) const { in MaxSpeakerVolume()
210 max_volume = j_audio_track_->GetStreamMaxVolume(); in MaxSpeakerVolume()
Daudio_track_jni.h84 int MaxSpeakerVolume(uint32_t& max_volume) const;
/external/adhd/cras/src/tests/
Dcard_config_unittest.cc263 long max_volume, in cras_volume_curve_create_simple_step() argument
266 cras_volume_curve_create_simple_step_max_volume = max_volume; in cras_volume_curve_create_simple_step()
/external/webrtc/modules/audio_device/
Daudio_device_data_observer.cc200 int32_t MaxSpeakerVolume(uint32_t* max_volume) const override { in MaxSpeakerVolume()
201 return impl_->MaxSpeakerVolume(max_volume); in MaxSpeakerVolume()
215 int32_t MaxMicrophoneVolume(uint32_t* max_volume) const override { in MaxMicrophoneVolume()
216 return impl_->MaxMicrophoneVolume(max_volume); in MaxMicrophoneVolume()
/external/webrtc/sdk/android/native_unittests/audio_device/
Daudio_device_unittest.cc620 uint32_t max_volume; in SetMaxPlayoutVolume() local
621 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume)); in SetMaxPlayoutVolume()
622 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume)); in SetMaxPlayoutVolume()
661 uint32_t max_volume(0); in GetMaxSpeakerVolume() local
662 EXPECT_EQ(0, audio_device()->MaxSpeakerVolume(&max_volume)); in GetMaxSpeakerVolume()
663 return max_volume; in GetMaxSpeakerVolume()
826 const int max_volume = GetMaxSpeakerVolume(); in TEST_F() local
827 EXPECT_EQ(0, audio_device()->SetSpeakerVolume(max_volume)); in TEST_F()
829 EXPECT_EQ(new_volume, max_volume); in TEST_F()
/external/autotest/server/brillo/feedback/
Dclosed_loop_audio_client.py331 max_volume = _max_volume(self.sample_width)
332 peak_min = max_volume * peak_percent_min / 100
333 peak_max = max_volume * peak_percent_max / 100
/external/adhd/cras-config/for_all_boards/
DChat 150 C4 max_volume = 0
DJabra SPEAK 8104 max_volume = 0
/external/webrtc/modules/audio_processing/test/
Druntime_setting_util.cc43 setting.playout_audio_device_change().max_volume()})); in ReplayRuntimeSetting()
Daec_dump_based_simulator.cc546 msg.playout_audio_device_change().max_volume()})); in HandleMessage()
/external/webrtc/pc/test/
Dfake_audio_capture_module.h99 int32_t MaxSpeakerVolume(uint32_t* max_volume) const override;
107 int32_t MaxMicrophoneVolume(uint32_t* max_volume) const override;
Dfake_audio_capture_module.cc305 uint32_t* max_volume) const { in MaxMicrophoneVolume()
306 *max_volume = kMaxVolume; in MaxMicrophoneVolume()
/external/webrtc/sdk/android/src/jni/audio_device/
Daudio_device_module.cc372 absl::optional<uint32_t> max_volume = output_->MaxSpeakerVolume(); in MaxSpeakerVolume() local
373 if (!max_volume) in MaxSpeakerVolume()
375 *output_max_volume = *max_volume; in MaxSpeakerVolume()
/external/adhd/cras/
DREADME.md96 - max_volume - The maximum volume for this output specified in dBFS * 100.
114 max_volume = -300
/external/webrtc/modules/audio_processing/
Ddebug.proto85 optional int32 max_volume = 2; field
/external/webrtc/modules/audio_processing/aec_dump/
Daec_dump_impl.cc217 dst->set_max_volume(src.max_volume); in WriteRuntimeSetting()
/external/webrtc/modules/audio_processing/include/
Daudio_processing.h393 int max_volume; // Maximum play-out volume. member
/external/adhd/cras/src/libcras/
Dcras_client.c2711 long max_volume; in cras_client_get_system_max_volume() local
2718 max_volume = client->server_state->max_volume_dBFS; in cras_client_get_system_max_volume()
2720 return max_volume; in cras_client_get_system_max_volume()