Searched refs:sample_rate (Results 1 - 7 of 7) sorted by relevance

/system/media/alsa_utils/include/
H A Dalsa_device_profile.h87 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 Dplaywav.c28 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 Dalsa_device_profile.c110 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 Daudio.h828 uint32_t sample_rate; // sample rate in Hz member in struct:__anon1820
847 sample_rate: 0,
862 uint32_t sample_rate; member in struct:audio_config
871 sample_rate: 0,
877 sample_rate: 0,
890 uint32_t sample_rate; member in struct:audio_config_base
898 sample_rate: 0,
1036 unsigned int sample_rate; /* sampling rate in Hz */ member in struct:audio_port_config
/system/bt/btif/src/
H A Dbtif_av.c87 int sample_rate; member in struct:__anon630
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);
1155 config_req.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq);
H A Dbtif_media_task.c329 UINT32 sample_rate; member in struct:__anon667
674 uint32_t sample_rate = btif_media_cb.sample_rate; local
678 UIPC_Send(UIPC_CH_ID_AV_CTRL, 0, (UINT8 *)&sample_rate, 4);
2260 btif_media_cb.sample_rate = btif_a2dp_get_track_frequency(sbc_cie.samp_freq);
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c420 uint32_t sample_rate; local
429 if (a2dp_ctrl_receive(common, &sample_rate, 4) < 0)
436 common->cfg.rate = sample_rate;
1139 config->sample_rate = out_get_sample_rate((const struct audio_stream *)&out->stream);

Completed in 191 milliseconds