Searched refs:volEnd (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/ |
H A D | volume_tools_unit_test.cpp | 109 int32_t volEnd = 1; in HWTEST_F() local 110 ChannelVolumes ret = VolumeTools::GetChannelVolumes(channel, volStart, volEnd); in HWTEST_F() 123 int32_t volEnd = -1; in HWTEST_F() local 124 ChannelVolumes ret = VolumeTools::GetChannelVolumes(channel, volStart, volEnd); in HWTEST_F() 137 float volEnd = 1.0f; in HWTEST_F() local 138 ChannelVolumes ret = VolumeTools::GetChannelVolumes(channel, volStart, volEnd); in HWTEST_F() 151 float volEnd = -1.0f; in HWTEST_F() local 152 ChannelVolumes ret = VolumeTools::GetChannelVolumes(channel, volStart, volEnd); in HWTEST_F() 165 float volEnd = 1.0f; in HWTEST_F() local 166 ChannelVolumes ret = VolumeTools::GetChannelVolumes(channel, volStart, volEnd); in HWTEST_F() [all...] |
/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | volume_tools.cpp | 53 if (!IsVolumeValid(vols.volStart[i]) || !IsVolumeValid(vols.volEnd[i])) { in IsVolumeValid() 72 ChannelVolumes VolumeTools::GetChannelVolumes(AudioChannel channel, int32_t volStart, int32_t volEnd) in GetChannelVolumes() argument 75 if (!IsVolumeValid(volStart) || !IsVolumeValid(volEnd) || channel > CHANNEL_16 || channel < MONO) { in GetChannelVolumes() 77 volEnd, channel); in GetChannelVolumes() 82 vols.volEnd[i] = volEnd; in GetChannelVolumes() 88 ChannelVolumes VolumeTools::GetChannelVolumes(AudioChannel channel, float volStart, float volEnd) in GetChannelVolumes() argument 91 if (!IsVolumeValid(volStart) || !IsVolumeValid(volEnd) || channel > CHANNEL_16 || channel < MONO) { in GetChannelVolumes() 93 volEnd, channel); in GetChannelVolumes() 98 vols.volEnd[ in GetChannelVolumes() 459 ProcessVol(uint8_t *buffer, size_t length, AudioRawFormat rawformat, float volStart, float volEnd) ProcessVol() argument [all...] |
/foundation/multimedia/audio_framework/services/audio_service/common/include/ |
H A D | volume_tools.h | 30 int32_t volEnd[CHANNEL_MAX]; member 45 static ChannelVolumes GetChannelVolumes(AudioChannel channel, int32_t volStart, int32_t volEnd); 46 static ChannelVolumes GetChannelVolumes(AudioChannel channel, float volStart, float volEnd);
|
H A D | volume_tools_c.h | 30 int32_t ProcessVol(uint8_t *buffer, size_t length, AudioRawFormat rawformat, float volStart, float volEnd);
|
Completed in 2 milliseconds