/system/bt/embdrv/sbc/encoder/include/ |
sbc_if.h | 29 bits_per_sample - 8 or 16 33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
|
/external/webrtc/talk/media/base/ |
audiorenderer.h | 42 int bits_per_sample,
|
/system/bt/stack/a2dp/ |
a2dp_vendor_ldac.cc | 40 // NOTE: bits_per_sample is needed only for LDAC encoder initialization. 46 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member in struct:__anon106135 58 // bits_per_sample 68 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_32 // bits_per_sample 344 switch (a2dp_ldac_caps.bits_per_sample) { 525 result->bits_per_sample = config_cie.bits_per_sample; 558 codec_local_capability_.bits_per_sample = a2dp_ldac_caps.bits_per_sample; 686 // Selects the best bits per sample from |bits_per_sample| 820 btav_a2dp_codec_bits_per_sample_t bits_per_sample; local [all...] |
a2dp_aac.cc | 42 // NOTE: bits_per_sample is needed only for AAC encoder initialization. 49 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member in struct:__anon106115 65 // bits_per_sample 75 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16 // bits_per_sample 678 result->bits_per_sample = config_cie.bits_per_sample; 703 codec_local_capability_.bits_per_sample = a2dp_aac_caps.bits_per_sample; 806 // Selects the best bits per sample from |bits_per_sample|. 807 // |bits_per_sample| contains the capability 930 btav_a2dp_codec_bits_per_sample_t bits_per_sample; local [all...] |
a2dp_vendor_aptx.cc | 47 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member in struct:__anon106127 58 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16 /* bits_per_sample */ 69 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16 /* bits_per_sample */ 430 codec_local_capability_.bits_per_sample = a2dp_aptx_caps.bits_per_sample; 517 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; 529 switch (p_codec_audio_config->bits_per_sample) { 531 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; 715 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; 716 switch (codec_user_config_.bits_per_sample) { [all...] |
a2dp_vendor_aptx_hd.cc | 49 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member in struct:__anon106131 63 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24 /* bits_per_sample */ 76 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24 /* bits_per_sample */ 448 codec_local_capability_.bits_per_sample = a2dp_aptx_hd_caps.bits_per_sample; 535 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; 547 switch (p_codec_audio_config->bits_per_sample) { 549 p_codec_config->bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24; 733 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; 734 switch (codec_user_config_.bits_per_sample) { [all...] |
a2dp_sbc.cc | 52 btav_a2dp_codec_bits_per_sample_t bits_per_sample; member in struct:__anon106122 64 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16 /* bits_per_sample */ 78 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16 /* bits_per_sample */ 90 BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16 /* bits_per_sample */ [all...] |
a2dp_aac_encoder.cc | 50 uint8_t bits_per_sample; member in struct:__anon106116 213 p_feeding_params->bits_per_sample = 216 LOG_DEBUG(LOG_TAG, "%s: sample_rate=%u bits_per_sample=%u channel_count=%u", 218 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); 450 a2dp_aac_encoder_cb.feeding_params.bits_per_sample / 8 * 495 a2dp_aac_encoder_cb.feeding_params.bits_per_sample / 8; 529 p_feeding_params->bits_per_sample / 8; 537 int in_buf_element_sizes[1] = {p_feeding_params->bits_per_sample / 8}; 550 int out_buf_element_sizes[1] = {p_feeding_params->bits_per_sample / 8}; 612 p_feeding_params->bits_per_sample / 8 [all...] |
a2dp_vendor_ldac_encoder.cc | 115 uint8_t bits_per_sample; member in struct:__anon106136 373 p_feeding_params->bits_per_sample = 377 LOG_DEBUG(LOG_TAG, "%s: sample_rate=%u bits_per_sample=%u channel_count=%u", 379 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); 464 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample >> 3; 512 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8 * 567 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; 667 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8; 700 a2dp_ldac_encoder_cb.feeding_params.bits_per_sample / 8;
|
/external/flac/libFLAC/include/protected/ |
stream_decoder.h | 46 unsigned bits_per_sample; member in struct:FLAC__StreamDecoderProtected
|
stream_encoder.h | 94 unsigned bits_per_sample; member in struct:FLAC__StreamEncoderProtected
|
/system/bt/audio_a2dp_hw/test/ |
audio_a2dp_hw_test.cc | 115 uint32_t bits_per_sample = local 117 EXPECT_TRUE(bits_per_sample != 0); 126 number_of_channels * (bits_per_sample / 8)) / 131 number_of_channels * bits_per_sample) /
|
/external/webrtc/webrtc/modules/audio_device/include/ |
audio_device_defines.h | 104 int bits_per_sample, 117 int bits_per_sample, 126 virtual void PullRenderData(int bits_per_sample, 163 size_t bits_per_sample() const { return kBitsPerSample; } function in class:webrtc::AudioParameters
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
g722_enc_dec.h | 68 int bits_per_sample; member in struct:__anon37074 106 int bits_per_sample; member in struct:__anon37076
|
g722_decode.c | 163 s->bits_per_sample = 6; 165 s->bits_per_sample = 7; 167 s->bits_per_sample = 8; 170 if ((options & G722_PACKED) && s->bits_per_sample != 8) 268 if (s->in_bits < s->bits_per_sample) 273 code = s->in_buffer & ((1 << s->bits_per_sample) - 1); 274 s->in_buffer >>= s->bits_per_sample; 275 s->in_bits -= s->bits_per_sample; 282 switch (s->bits_per_sample)
|
g722_encode.c | 164 s->bits_per_sample = 6; 166 s->bits_per_sample = 7; 168 s->bits_per_sample = 8; 171 if ((options & G722_PACKED) && s->bits_per_sample != 8) 378 code = (0xC0 | ilow) >> (8 - s->bits_per_sample); 411 code = ((ihigh << 6) | ilow) >> (8 - s->bits_per_sample); 418 s->out_bits += s->bits_per_sample;
|
/hardware/intel/common/libmix/mix_audio/src/ |
mixacp.c | 51 self->bits_per_sample = MIX_ACP_BPS_16; 145 t->bits_per_sample = s->bits_per_sample; 198 (acp1->bits_per_sample == acp2->bits_per_sample) && 255 return obj->bits_per_sample; 273 obj->bits_per_sample = type; 313 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_INFO, "bits_per_sample: %d\n", obj->bits_per_sample);
|
mixacp.h | 127 * @bits_per_sample: Number of output bit per sample. See #mix_acp_set_bps 148 MixACPBPSType bits_per_sample; member in struct:_MixAudioConfigParams
|
/system/bt/btif/src/ |
btif_a2dp_control.cc | 182 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; 185 codec_capability.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; 200 reinterpret_cast<const uint8_t*>(&codec_config.bits_per_sample), 210 &codec_capability.bits_per_sample), 221 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; 234 reinterpret_cast<uint8_t*>(&codec_config.bits_per_sample), 249 "sample_rate=0x%x bits_per_sample=0x%x " 251 __func__, codec_config.sample_rate, codec_config.bits_per_sample,
|
/external/webrtc/webrtc/voice_engine/ |
voe_base_impl.h | 87 int bits_per_sample, 93 int bits_per_sample, 97 void PullRenderData(int bits_per_sample,
|
/external/tinyalsa/ |
tinycap.c | 54 uint16_t bits_per_sample; member in struct:wav_header 157 header.bits_per_sample = pcm_format_to_bits(format); 158 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; 159 header.block_align = channels * (header.bits_per_sample / 8);
|
/external/webrtc/webrtc/modules/audio_device/android/ |
opensles_player.h | 99 size_t bits_per_sample);
|
/system/bt/audio_a2dp_hw/src/ |
audio_a2dp_hw.cc | 524 if (a2dp_ctrl_receive(common, &codec_config->bits_per_sample, 538 if (a2dp_ctrl_receive(common, &codec_capability->bits_per_sample, 574 switch (codec_config->bits_per_sample) { 586 ERROR("Invalid bits per sample: 0x%x", codec_config->bits_per_sample); 610 codec_config->sample_rate, codec_config->bits_per_sample, 615 "got output codec capability: sample_rate=0x%x bits_per_sample=0x%x " 617 codec_capability->sample_rate, codec_capability->bits_per_sample, 632 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; 661 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_16; 664 codec_config.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_24 936 uint32_t bits_per_sample; local [all...] |
/system/extras/sound/ |
playwav.c | 118 uint16_t bits_per_sample; member in struct:wav_header 168 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, 182 if (hdr.bits_per_sample != 16) { 213 hdr.bits_per_sample = 16;
|
/external/flac/libFLAC/ |
stream_encoder_framing.c | 91 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample > 0); 92 FLAC__ASSERT(metadata->data.stream_info.bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO_BITS_PER_SAMPLE_LEN)); 93 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.bits_per_sample-1, FLAC__STREAM_METADATA_STREAMINFO_BITS_PER_SAMPLE_LEN)) 310 FLAC__ASSERT(header->bits_per_sample > 0 && header->bits_per_sample <= (1u << FLAC__STREAM_METADATA_STREAMINFO_BITS_PER_SAMPLE_LEN)); 311 switch(header->bits_per_sample) {
|