Searched refs:AUDIO_FORMAT_PCM_16_BIT (Results 1 – 15 of 15) sorted by relevance
/system/media/audio_utils/tests/ |
D | format_tests.cpp | 28 return format == AUDIO_FORMAT_PCM_16_BIT || format == AUDIO_FORMAT_PCM_FLOAT; in is_common_format() 44 buffer, AUDIO_FORMAT_PCM_16_BIT, in fillRamp() 50 buffer, AUDIO_FORMAT_PCM_16_BIT, size); in fillRamp() 72 constexpr audio_format_t orig_encoding = AUDIO_FORMAT_PCM_16_BIT; in TEST_P() 114 AUDIO_FORMAT_PCM_16_BIT, 122 AUDIO_FORMAT_PCM_16_BIT,
|
D | powerlog_tests.cpp | 35 AUDIO_FORMAT_PCM_16_BIT, in TEST() 84 AUDIO_FORMAT_PCM_16_BIT, in TEST()
|
D | power_tests.cpp | 77 audio_utils_compute_power_mono(i16_ary + i, AUDIO_FORMAT_PCM_16_BIT, length - i)); in testFloatValue() 136 audio_utils_compute_power_mono(i16_ary, AUDIO_FORMAT_PCM_16_BIT, length)); in testFloatRamp()
|
/system/media/audio_utils/ |
D | format.c | 31 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 47 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 70 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 91 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 103 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 121 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format() 136 case AUDIO_FORMAT_PCM_16_BIT: in memcpy_by_audio_format()
|
D | power.cpp | 37 case AUDIO_FORMAT_PCM_16_BIT: in isFormatSupported() 61 case AUDIO_FORMAT_PCM_16_BIT: in convertToFloatAndIncrement() 94 case AUDIO_FORMAT_PCM_16_BIT: in normalizeAmplitude() 216 inline float energyMono<AUDIO_FORMAT_PCM_16_BIT>(const void *amplitudes, size_t size) in energyMono() 219 * normalizeEnergy<AUDIO_FORMAT_PCM_16_BIT>(); in energyMono() 248 case AUDIO_FORMAT_PCM_16_BIT: in audio_utils_compute_energy_mono() 249 return energyMono<AUDIO_FORMAT_PCM_16_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
|
D | mono_blend.cpp | 31 case AUDIO_FORMAT_PCM_16_BIT: { in mono_blend()
|
D | echo_reference.c | 503 if (rdFormat != AUDIO_FORMAT_PCM_16_BIT || in create_echo_reference()
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.h | 26 AUDIO_FORMAT_PCM_16_BIT;
|
D | stream_apis.cc | 319 if (audio_cfg.format == AUDIO_FORMAT_PCM_16_BIT) { in out_get_parameters() 637 if (config->channel_mask == AUDIO_CHANNEL_OUT_MONO && config->format == AUDIO_FORMAT_PCM_16_BIT) { in adev_open_output_stream()
|
D | device_port_proxy.cc | 86 return AUDIO_FORMAT_PCM_16_BIT; in BitsPerSampleToAudioFormat()
|
/system/bt/btif/src/ |
D | btif_avrcp_audio_track.cc | 44 format = AUDIO_FORMAT_PCM_16_BIT; in BtifAvrcpAudioTrackCreate()
|
/system/bt/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 195 case AUDIO_FORMAT_PCM_16_BIT: in calc_audiotime_usec() 500 common->cfg.format = AUDIO_FORMAT_PCM_16_BIT; in ha_read_input_audio_config() 580 stream_config.format = AUDIO_FORMAT_PCM_16_BIT; in ha_read_output_audio_config() 686 case AUDIO_FORMAT_PCM_16_BIT: in ha_write_output_audio_config() 1395 return AUDIO_FORMAT_PCM_16_BIT; in in_get_format() 1401 if (format == AUDIO_FORMAT_PCM_16_BIT) in in_set_format()
|
/system/bt/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 211 case AUDIO_FORMAT_PCM_16_BIT: in calc_audiotime_usec() 519 common->cfg.format = AUDIO_FORMAT_PCM_16_BIT; in a2dp_read_input_audio_config() 593 stream_config.format = AUDIO_FORMAT_PCM_16_BIT; in a2dp_read_output_audio_config() 693 case AUDIO_FORMAT_PCM_16_BIT: in a2dp_write_output_audio_config() 1453 return AUDIO_FORMAT_PCM_16_BIT; in in_get_format() 1459 if (format == AUDIO_FORMAT_PCM_16_BIT) in in_set_format()
|
/system/media/audio/include/system/ |
D | audio-base.h | 154 AUDIO_FORMAT_PCM_16_BIT = 0x1u, // (PCM | PCM_SUB_16_BIT) enumerator
|
D | audio.h | 1005 case AUDIO_FORMAT_PCM_16_BIT: in audio_is_valid_format() 1176 case AUDIO_FORMAT_PCM_16_BIT: in audio_bytes_per_sample()
|