Home
last modified time | relevance | path

Searched refs:AUDIO_FORMAT_PCM_16_BIT (Results 1 – 15 of 15) sorted by relevance

/system/media/audio_utils/tests/
Dformat_tests.cpp28 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,
Dpowerlog_tests.cpp35 AUDIO_FORMAT_PCM_16_BIT, in TEST()
84 AUDIO_FORMAT_PCM_16_BIT, in TEST()
Dpower_tests.cpp77 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/
Dformat.c31 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()
Dpower.cpp37 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()
Dmono_blend.cpp31 case AUDIO_FORMAT_PCM_16_BIT: { in mono_blend()
Decho_reference.c503 if (rdFormat != AUDIO_FORMAT_PCM_16_BIT || in create_echo_reference()
/system/bt/audio_bluetooth_hw/
Dstream_apis.h26 AUDIO_FORMAT_PCM_16_BIT;
Dstream_apis.cc319 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()
Ddevice_port_proxy.cc86 return AUDIO_FORMAT_PCM_16_BIT; in BitsPerSampleToAudioFormat()
/system/bt/btif/src/
Dbtif_avrcp_audio_track.cc44 format = AUDIO_FORMAT_PCM_16_BIT; in BtifAvrcpAudioTrackCreate()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc195 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/
Daudio_a2dp_hw.cc211 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/
Daudio-base.h154 AUDIO_FORMAT_PCM_16_BIT = 0x1u, // (PCM | PCM_SUB_16_BIT) enumerator
Daudio.h1005 case AUDIO_FORMAT_PCM_16_BIT: in audio_is_valid_format()
1176 case AUDIO_FORMAT_PCM_16_BIT: in audio_bytes_per_sample()