Home
last modified time | relevance | path

Searched refs:AUDIO_FORMAT_PCM_8_BIT (Results 1 – 9 of 9) sorted by relevance

/system/media/audio_utils/tests/
Dformat_tests.cpp32 return format == AUDIO_FORMAT_PCM_8_BIT // Allowed for HAL to AudioRecord conversion. in is_common_dst_format()
51 bytes, AUDIO_FORMAT_PCM_8_BIT, size); in fillRamp()
55 check, AUDIO_FORMAT_PCM_8_BIT, in fillRamp()
119 AUDIO_FORMAT_PCM_8_BIT,
127 AUDIO_FORMAT_PCM_8_BIT,
Dpower_tests.cpp75 audio_utils_compute_power_mono(u8_ary + i, AUDIO_FORMAT_PCM_8_BIT, length - i)); in testFloatValue()
131 const float power8 = audio_utils_compute_power_mono(u8_ary, AUDIO_FORMAT_PCM_8_BIT, length); in testFloatRamp()
/system/media/audio_utils/fuzz/format_fuzzer/
Dformat_fuzzer.cpp31 return format == AUDIO_FORMAT_PCM_8_BIT // Allowed for HAL to AudioRecord conversion. in is_common_dst_format()
37 AUDIO_FORMAT_PCM_8_BIT, AUDIO_FORMAT_PCM_24_BIT_PACKED, AUDIO_FORMAT_PCM_32_BIT,
51 bytes, AUDIO_FORMAT_PCM_8_BIT, input_size); in fillBuffer()
55 check, AUDIO_FORMAT_PCM_8_BIT, in fillBuffer()
/system/media/audio_utils/
Dpower.cpp36 case AUDIO_FORMAT_PCM_8_BIT: in isFormatSupported()
58 case AUDIO_FORMAT_PCM_8_BIT: in convertToFloatAndIncrement()
91 case AUDIO_FORMAT_PCM_8_BIT: in normalizeAmplitude()
245 case AUDIO_FORMAT_PCM_8_BIT: in audio_utils_compute_energy_mono()
246 return energyMono<AUDIO_FORMAT_PCM_8_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
Dformat.c29 case AUDIO_FORMAT_PCM_8_BIT: in memcpy_by_audio_format()
48 case AUDIO_FORMAT_PCM_8_BIT: in memcpy_by_audio_format()
69 case AUDIO_FORMAT_PCM_8_BIT: in memcpy_by_audio_format()
85 case AUDIO_FORMAT_PCM_8_BIT: in memcpy_by_audio_format()
/system/media/audio/include/system/
Daudio-base.h157 AUDIO_FORMAT_PCM_8_BIT = 0x2u, // (PCM | PCM_SUB_8_BIT) enumerator
Daudio.h1072 case AUDIO_FORMAT_PCM_8_BIT: in audio_is_valid_format()
1263 case AUDIO_FORMAT_PCM_8_BIT: in audio_bytes_per_sample()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc191 case AUDIO_FORMAT_PCM_8_BIT: in calc_audiotime_usec()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc207 case AUDIO_FORMAT_PCM_8_BIT: in calc_audiotime_usec()