Searched refs:sample_rate (Results 1 - 7 of 7) sorted by relevance
/system/media/alsa_utils/include/ |
H A 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/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); 116 unsigned num_sample_frames = (sample_rate * BUFF_DURATION_MS) / 1000; 124 unsigned int profile_get_period_size(alsa_device_profile* profile, unsigned sample_rate) argument 126 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); 127 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size);
|
/system/media/audio/include/system/ |
H A D | audio.h | 768 uint32_t sample_rate; // sample rate in Hz member in struct:__anon1607 787 sample_rate: 0, 802 uint32_t sample_rate; member in struct:audio_config 811 sample_rate: 0, 817 sample_rate: 0, 961 unsigned int sample_rate; /* sampling rate in Hz */ member in struct:audio_port_config
|
/system/bt/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 372 uint32_t sample_rate; local 381 if (a2dp_ctrl_receive(common, &sample_rate, 4) < 0) 388 common->cfg.rate = sample_rate; 1063 config->sample_rate = out_get_sample_rate((const struct audio_stream *)&out->stream);
|
/system/bt/btif/src/ |
H A D | btif_av.c | 95 int sample_rate; member in struct:__anon642 446 BTIF_TRACE_WARNING("BTIF_AV_SINK_CONFIG_REQ_EVT %d %d", req.sample_rate, 450 req.sample_rate, req.channel_count); 1003 config_req.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq);
|
H A D | btif_media_task.c | 242 UINT32 sample_rate; member in struct:__anon674 525 uint32_t sample_rate = btif_media_cb.sample_rate; local 529 UIPC_Send(UIPC_CH_ID_AV_CTRL, 0, (UINT8 *)&sample_rate, 4); 1995 btif_media_cb.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq);
|
Completed in 312 milliseconds