Searched refs:sample_rate (Results 1 – 7 of 7) sorted by relevance
/system/extras/sound/ |
D | playwav.c | 28 uint32_t sample_rate; member 60 config.sample_rate = rate; in pcm_play() 115 uint32_t sample_rate; member 168 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, in wav_play() 187 play_file(hdr.sample_rate, hdr.num_channels, in wav_play() 210 hdr.sample_rate = rate; in wav_rec() 211 hdr.byte_rate = hdr.sample_rate * hdr.num_channels * 2; in wav_rec() 238 cfg.sample_rate = hdr.sample_rate; in wav_rec()
|
/system/media/alsa_utils/include/ |
D | alsa_device_profile.h | 87 unsigned profile_calc_min_period_size(alsa_device_profile* profile, unsigned sample_rate); 88 unsigned int profile_get_period_size(alsa_device_profile* profile, unsigned sample_rate);
|
/system/media/alsa_utils/ |
D | alsa_device_profile.c | 110 unsigned profile_calc_min_period_size(alsa_device_profile* profile, unsigned sample_rate) in profile_calc_min_period_size() argument 112 ALOGV("profile_calc_min_period_size(%p, rate:%d)", profile, sample_rate); in profile_calc_min_period_size() 117 unsigned num_sample_frames = ((uint64_t)sample_rate * period_us) / 1000000; in profile_calc_min_period_size() 126 unsigned int profile_get_period_size(alsa_device_profile* profile, unsigned sample_rate) in profile_get_period_size() argument 128 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); in profile_get_period_size() 129 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size); in profile_get_period_size()
|
/system/media/audio/include/system/ |
D | audio.h | 828 uint32_t sample_rate; // sample rate in Hz member 847 sample_rate: 0, 862 uint32_t sample_rate; member 871 sample_rate: 0, 877 sample_rate: 0, 890 uint32_t sample_rate; member 898 sample_rate: 0, 1036 unsigned int sample_rate; /* sampling rate in Hz */ member
|
/system/bt/btif/src/ |
D | btif_av.c | 87 int sample_rate; member 385 BTIF_TRACE_WARNING("BTIF_AV_SINK_CONFIG_REQ_EVT %d %d", req.sample_rate, in btif_av_state_idle_handler() 389 req.sample_rate, req.channel_count); in btif_av_state_idle_handler() 560 BTIF_TRACE_WARNING("BTIF_AV_SINK_CONFIG_REQ_EVT %d %d", req.sample_rate, in btif_av_state_opening_handler() 564 req.sample_rate, req.channel_count); in btif_av_state_opening_handler() 1155 config_req.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq); in bte_av_media_callback()
|
D | btif_media_task.c | 329 UINT32 sample_rate; member 674 uint32_t sample_rate = btif_media_cb.sample_rate; in btif_recv_ctrl_data() local 678 UIPC_Send(UIPC_CH_ID_AV_CTRL, 0, (UINT8 *)&sample_rate, 4); in btif_recv_ctrl_data() 2260 btif_media_cb.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq); in btif_media_task_aa_handle_decoder_reset()
|
/system/bt/audio_a2dp_hw/ |
D | audio_a2dp_hw.c | 420 uint32_t sample_rate; in a2dp_read_audio_config() local 429 if (a2dp_ctrl_receive(common, &sample_rate, 4) < 0) in a2dp_read_audio_config() 436 common->cfg.rate = sample_rate; in a2dp_read_audio_config() 1139 config->sample_rate = out_get_sample_rate((const struct audio_stream *)&out->stream); in adev_open_output_stream()
|