Searched refs:bitsPerSample (Results 1 – 10 of 10) sorted by relevance
/system/bt/btif/src/ |
D | btif_avrcp_audio_track.cc | 33 int bitsPerSample; member 44 void* BtifAvrcpAudioTrackCreate(int trackFreq, int bitsPerSample, in BtifAvrcpAudioTrackCreate() argument 47 __func__, trackFreq, bitsPerSample, channelCount); in BtifAvrcpAudioTrackCreate() 65 trackHolder->bitsPerSample = bitsPerSample; in BtifAvrcpAudioTrackCreate() 148 return trackHolder->bitsPerSample / 8; in sampleSizeFor() 185 switch (trackHolder->bitsPerSample) { in transcodeToPcmFloat()
|
D | btif_a2dp_audio_interface.cc | 260 p_codec_info->bitsPerSample = in btif_a2dp_get_codec_configuration()
|
/system/media/audio_utils/ |
D | tinysndfile.c | 200 unsigned bitsPerSample = little2u(&fmt[14]); in sf_open_read() local 201 if (bitsPerSample != 8 && bitsPerSample != 16 && bitsPerSample != 24 && in sf_open_read() 202 bitsPerSample != 32) { in sf_open_read() 204 fprintf(stderr, "bitsPerSample %u != 8 or 16 or 24 or 32\n", bitsPerSample); in sf_open_read() 208 unsigned bytesPerFrame = (bitsPerSample >> 3) * channels; in sf_open_read() 212 switch (bitsPerSample) { in sf_open_read() 331 unsigned bitsPerSample; in sf_open_write() local 334 bitsPerSample = 16; in sf_open_write() 337 bitsPerSample = 8; in sf_open_write() 340 bitsPerSample = 32; in sf_open_write() [all …]
|
/system/bt/audio_hal_interface/ |
D | codec_status.cc | 70 (static_cast<BitsPerSample>(sbc_capability.bitsPerSample & in sbc_offloading_capability_match() 71 sbc_config.bitsPerSample) == in sbc_offloading_capability_match() 98 (static_cast<BitsPerSample>(aac_capability.bitsPerSample & in aac_offloading_capability_match() 99 aac_config.bitsPerSample) == in aac_offloading_capability_match() 118 (static_cast<BitsPerSample>(aptx_capability.bitsPerSample & in aptx_offloading_capability_match() 119 aptx_config.bitsPerSample) == in aptx_offloading_capability_match() 138 (static_cast<BitsPerSample>(ldac_capability.bitsPerSample & in ldac_offloading_capability_match() 139 ldac_config.bitsPerSample) == in ldac_offloading_capability_match() 294 sbc_config.bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in A2dpSbcToHalConfig() 295 if (sbc_config.bitsPerSample == BitsPerSample::BITS_UNKNOWN) { in A2dpSbcToHalConfig() [all …]
|
D | client_interface_unittest.cc | 169 pcm_config.bitsPerSample != BitsPerSample::BITS_UNKNOWN && in IsSoftwarePcmParametersSupported() 173 pcm_config.bitsPerSample & pcm_capabilities.bitsPerSample && in IsSoftwarePcmParametersSupported() 202 sbc_config.bitsPerSample & sbc_capability.bitsPerSample && in IsCodecOffloadingSupported() 220 aac_config.bitsPerSample & aac_capability.bitsPerSample); in IsCodecOffloadingSupported() 230 ldac_config.bitsPerSample & ldac_capability.bitsPerSample); in IsCodecOffloadingSupported() 242 aptx_config.bitsPerSample & aptx_capability.bitsPerSample); in IsCodecOffloadingSupported() 282 pcm_config.bitsPerSample = bits_per_sample_pair.hal_bits_per_sample_; in TEST_F() 357 .bitsPerSample = bits_per_sample_pair.hal_bits_per_sample_, in SbcCodecConfigurationsGenerator() 432 .bitsPerSample = bits_per_sample_pair.hal_bits_per_sample_}; in AacCodecConfigurationsGenerator() 502 .bitsPerSample = bits_per_sample_pair.hal_bits_per_sample_}; in LdacCodecConfigurationsGenerator() [all …]
|
D | client_interface.h | 165 .bitsPerSample = BitsPerSample::BITS_UNKNOWN,
|
D | a2dp_encoding.cc | 297 pcm_config->bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in a2dp_get_selected_hal_pcm_config() 300 pcm_config->bitsPerSample != BitsPerSample::BITS_UNKNOWN && in a2dp_get_selected_hal_pcm_config()
|
D | hearing_aid_software_encoding.cc | 137 hal_pcm_config->bitsPerSample = BitsPerSample::BITS_16; in HearingAidGetSelectedHalPcmConfig()
|
/system/bt/btif/include/ |
D | btif_avrcp_audio_track.h | 38 void* BtifAvrcpAudioTrackCreate(int trackFreq, int bitsPerSample,
|
/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 277 pcm_cfg.bitsPerSample == BitsPerSample::BITS_UNKNOWN) { in LoadAudioConfig() 283 audio_cfg->format = BitsPerSampleToAudioFormat(pcm_cfg.bitsPerSample); in LoadAudioConfig()
|