Home
last modified time | relevance | path

Searched refs:rate (Results 1 – 13 of 13) sorted by relevance

/device/asus/grouper/audio/
Daudio_hw.c73 .rate = OUT_SAMPLING_RATE,
82 .rate = IN_SAMPLING_RATE,
92 .rate = IN_SAMPLING_RATE,
102 .rate = SCO_SAMPLING_RATE,
298 if (((out->pcm_config->rate % 8000 == 0) && in start_output_stream()
299 (in->pcm_config->rate % 8000) != 0) || in start_output_stream()
300 ((out->pcm_config->rate % 11025 == 0) && in start_output_stream()
301 (in->pcm_config->rate % 11025) != 0)) in start_output_stream()
318 if (out_get_sample_rate(&out->stream.common) != out->pcm_config->rate) { in start_output_stream()
320 out->pcm_config->rate, in start_output_stream()
[all …]
/device/asus/fugu/libaudio/
DAudioStreamIn.cpp106 status_t AudioStreamIn::setSampleRate(uint32_t rate) in setSampleRate() argument
108 (void) rate; in setSampleRate()
195 DUMP("\tinput sample rate: %d\n", mPcmConfig.rate); in dump()
350 mPcmConfig.rate = chosenSampleRate; in startInputStream_l()
353 AudioHardwareInput::kPeriodMsec * mPcmConfig.rate / 1000; in startInputStream_l()
382 if (mPcmConfig.rate != mRequestedSampleRate) { in startInputStream_l()
384 mPcmConfig.rate, mRequestedSampleRate); in startInputStream_l()
385 int ret = create_resampler(mPcmConfig.rate, in startInputStream_l()
Daudio_hal_thunks.cpp97 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() argument
102 if (rate != tstream->impl->sampleRate()) in out_set_sample_rate()
233 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate) in in_set_sample_rate() argument
238 return tstream->impl->setSampleRate(rate); in in_set_sample_rate()
DAudioStreamIn.h39 status_t setSampleRate(uint32_t rate);
DAudioOutput.cpp215 config.rate = mFramesPerSec; in openPCMDevice()
229 mALSACardID, dev_id, config.rate, config.channels, config.period_size, config.format); in openPCMDevice()
/device/lge/hammerhead/camera/hdr/include/
Dmorpho_easy_hdr.h611 int rate);
625 int *rate);
656 int rate);
670 int *rate);
/device/asus/flo/camera/hdr/include/
Dmorpho_easy_hdr.h611 int rate);
625 int *rate);
656 int rate);
670 int *rate);
/device/lge/mako/camera/hdr/include/
Dmorpho_easy_hdr.h611 int rate);
625 int *rate);
656 int rate);
670 int *rate);
/device/samsung/manta/audio/
Daudio_hw.c72 .rate = 44100,
80 .rate = 44100,
88 .rate = 44100,
96 .rate = 8000,
104 .rate = 44100,
116 .rate = HDMI_MULTI_DEFAULT_SAMPLING_RATE,
822 size = (config->period_size * sample_rate) / config->rate; in get_input_buffer_size()
935 return out->config.rate; in out_get_sample_rate()
938 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() argument
1162 out->config.rate; in out_get_latency()
[all …]
/device/htc/flounder/audio/hal/
Daudio_hw.c56 .rate = PLAYBACK_DEFAULT_SAMPLING_RATE,
74 .rate = CAPTURE_DEFAULT_SAMPLING_RATE,
92 .rate = CAPTURE_DEFAULT_SAMPLING_RATE,
110 .rate = PLAYBACK_DEFAULT_SAMPLING_RATE,
128 .rate = SCO_DEFAULT_SAMPLING_RATE,
148 .rate = SCO_DEFAULT_SAMPLING_RATE,
166 .rate = 16000,
208 .rate = DEEP_BUFFER_OUTPUT_SAMPLING_RATE,
932 …ernel_delay = (long)(((int64_t)kernel_frames * 1000000000) / ref_device->pcm_profile->config.rate); in get_capture_reference_delay()
972 buf_delay = (long)(((int64_t)(in->read_buf_frames) * 1000000000) / in->config.rate + in get_capture_delay()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c71 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() argument
227 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate) in in_set_sample_rate() argument
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c171 .rate = AUDIO_CAPTURE_SMP_RATE,
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp414 int rate = 20, dev_num, enabled = 0, i; in CwMcuSensor() local