Home
last modified time | relevance | path

Searched refs:sample_rate (Results 1 – 10 of 10) sorted by relevance

/system/extras/sound/
Dplaywav.c28 uint32_t sample_rate; member
62 config.sample_rate = rate; in pcm_play()
116 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/
Dalsa_device_profile.h95 unsigned profile_calc_min_period_size(const alsa_device_profile* profile, unsigned sample_rate);
96 unsigned int profile_get_period_size(const alsa_device_profile* profile, unsigned sample_rate);
/system/media/alsa_utils/
Dalsa_device_profile.c111 unsigned profile_calc_min_period_size(const alsa_device_profile* profile, unsigned sample_rate) in profile_calc_min_period_size() argument
113 ALOGV("profile_calc_min_period_size(%p, rate:%d)", profile, sample_rate); in profile_calc_min_period_size()
118 unsigned num_sample_frames = ((uint64_t)sample_rate * period_us) / 1000000; in profile_calc_min_period_size()
127 unsigned int profile_get_period_size(const alsa_device_profile* profile, unsigned sample_rate) in profile_get_period_size() argument
129 unsigned int period_size = profile_calc_min_period_size(profile, sample_rate); in profile_get_period_size()
130 ALOGV("profile_get_period_size(rate:%d) = %d", sample_rate, period_size); in profile_get_period_size()
/system/media/audio_utils/
DPowerLog.cpp308 power_log_t *power_log_create(uint32_t sample_rate, in power_log_create() argument
316 PowerLog(sample_rate, channel_count, format, entries, frames_per_entry)); in power_log_create()
/system/media/audio_utils/include/audio_utils/
DPowerLog.h193 power_log_t *power_log_create(uint32_t sample_rate,
/system/media/audio/include/system/
Daudio.h450 uint32_t sample_rate; // sample rate in Hz member
497 uint32_t sample_rate; member
531 uint32_t sample_rate; member
548 config.sample_rate = base->sample_rate; in audio_config_initializer()
692 unsigned int sample_rate; /* sampling rate in Hz */ member
984 lhs->sample_rate == rhs->sample_rate) && in audio_port_configs_are_equal()
/system/extras/simpleperf/
Devent_selection_set.h111 bool AddEventType(const std::string& event_name, const SampleRate& sample_rate);
Devent_selection_set.cpp283 bool EventSelectionSet::AddEventType(const std::string& event_name, const SampleRate& sample_rate) { in AddEventType() argument
287 SetSampleRateForGroup(groups_.back(), sample_rate); in AddEventType()
/system/media/tests/
Dsystemaudio_tests.cpp494 config->sample_rate = 48000; in fillFakeAudioPortConfigInfo()
661 updateConfigFieldAndCompare(rhs.sample_rate * 2, &audio_port_config::sample_rate, in TEST_P()
/system/chre/platform/slpi/see/
Dsee_helper.cc313 .sample_rate = request.samplingRateHz, in encodeSnsStdSensorConfig()
963 ceilf(Seconds(1).toRawNanoseconds() / event.sample_rate)); in decodeSnsStdSensorPhysicalConfigEvent()