Searched refs:sample_rate (Results 1 - 7 of 7) sorted by relevance
/system/media/alsa_utils/include/ |
H A D | alsa_device_profile.h | 88 unsigned profile_calc_min_period_size(alsa_device_profile* profile, unsigned sample_rate); 89 unsigned int profile_get_period_size(alsa_device_profile* profile, unsigned sample_rate);
|
/system/extras/sound/ |
H A D | playwav.c | 28 uint32_t sample_rate; member in struct:msm_audio_config 60 config.sample_rate = rate; 115 uint32_t sample_rate; member in struct:wav_header 116 uint32_t byte_rate; /* sample_rate * num_channels * bps / 8 */ 168 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, 187 play_file(hdr.sample_rate, hdr.num_channels, 210 hdr.sample_rate = rate; 211 hdr.byte_rate = hdr.sample_rate * hdr.num_channels * 2; 238 cfg.sample_rate = hdr.sample_rate; [all...] |
/system/media/alsa_utils/ |
H A D | alsa_device_profile.c | 110 unsigned profile_calc_min_period_size(alsa_device_profile* profile, unsigned sample_rate) argument 112 ALOGV("profile_calc_min_period_size(%p, rate:%d)", profile, sample_rate); 117 unsigned num_sample_frames = ((uint64_t)sample_rate * period_us) / 1000000; 126 unsigned int profile_get_period_size(alsa_device_profile* profile, unsigned sample_rate) argument 128 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); 129 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size);
|
/system/media/audio/include/system/ |
H A D | audio.h | 829 uint32_t sample_rate; // sample rate in Hz member in struct:__anon1824 848 sample_rate: 0, 863 uint32_t sample_rate; member in struct:audio_config 872 sample_rate: 0, 878 sample_rate: 0, 891 uint32_t sample_rate; member in struct:audio_config_base 899 sample_rate: 0, 1037 unsigned int sample_rate; /* sampling rate in Hz */ member in struct:audio_port_config
|
/system/bt/btif/src/ |
H A D | btif_av.c | 87 int sample_rate; member in struct:__anon629 385 BTIF_TRACE_WARNING("BTIF_AV_SINK_CONFIG_REQ_EVT %d %d", req.sample_rate, 389 req.sample_rate, req.channel_count); 560 BTIF_TRACE_WARNING("BTIF_AV_SINK_CONFIG_REQ_EVT %d %d", req.sample_rate, 564 req.sample_rate, req.channel_count); 1163 config_req.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq);
|
H A D | btif_media_task.c | 331 UINT32 sample_rate; member in struct:__anon667 762 uint32_t sample_rate = btif_media_cb.sample_rate; local 766 UIPC_Send(UIPC_CH_ID_AV_CTRL, 0, (UINT8 *)&sample_rate, 4); 2366 btif_media_cb.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq);
|
/system/bt/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 420 uint32_t sample_rate; local 429 if (a2dp_ctrl_receive(common, &sample_rate, 4) < 0) 436 common->cfg.rate = sample_rate; 1136 config->sample_rate = out_get_sample_rate((const struct audio_stream *)&out->stream);
|
Completed in 238 milliseconds