Home
last modified time | relevance | path

Searched refs:period_size (Results 1 – 18 of 18) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c75 unsigned int rate, unsigned int bits, unsigned int period_size,
95 unsigned int period_size = 1024;
152 period_size = atoi(*argv);
169 chunk_fmt.bits_per_sample, period_size, period_count);
202 unsigned int rate, unsigned int bits, unsigned int period_size, in sample_is_playable() argument
217 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, period_size, "Period size", "Hz"); in sample_is_playable()
230 unsigned int period_size, in xa_playback_open() argument
239 config.period_size = period_size; in xa_playback_open()
249 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in xa_playback_open()
289 unsigned int rate, unsigned int bits, unsigned int period_size,
[all …]
Dxa_playback.h34 unsigned int period_size,
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c881 param_set_min(&params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, config->period_size); in pcm_open()
914 config->period_size = param_get_int(&params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE); in pcm_open()
916 pcm->buffer_size = config->period_count * config->period_size; in pcm_open()
937 config->period_count * config->period_size / 2; in pcm_open()
945 config->period_count * config->period_size * 10; in pcm_open()
948 config->period_count * config->period_size; in pcm_open()
955 pcm->config.avail_min = sparams.avail_min = pcm->config.period_size; in pcm_open()
961 sparams.xfer_align = config->period_size / 2; /* needed for old kernels */ in pcm_open()
Dasoundlib.h89 unsigned int period_size; member
/device/generic/car/emulator/audio/driver/
Daudio_hw.c63 .period_size = 0,
72 .period_size = 0,
93 int size = out->pcm_config.period_size * in out_get_buffer_size()
196 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
257 buffer_frames = out->pcm_config.period_size; in out_write_worker()
801 buffer_frames = in->pcm_config.period_size; in in_read_worker()
1000 out->pcm_config.period_size = out->pcm_config.rate*OUT_PERIOD_MS/1000; in adev_open_output_stream()
1012 out->pcm_config.period_size*out->pcm_config.period_count, in adev_open_output_stream()
1207 in->pcm_config.period_size = in->pcm_config.rate*IN_PERIOD_MS/1000; in adev_open_input_stream()
1219 in->pcm_config.period_size*in->pcm_config.period_count, in adev_open_input_stream()
/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-test.c49 unsigned int period_size = 1024; variable
295 pb_format.pcm_width, period_size, period_count); in main()
Dxaf-dec-mix-test.c225 unsigned int period_size = 1024; in main() local
370 pb_format.pcm_width, period_size, period_count); in main()
/device/linaro/dragonboard/audio/
Daudio_hw.c239 .period_size = 0,
248 .period_size = 0,
272 int size = out->pcm_config.period_size * in out_get_buffer_size()
409 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
472 buffer_frames = out->pcm_config.period_size; in out_write_worker()
1026 buffer_frames = in->pcm_config.period_size; in in_read_worker()
1240 out->pcm_config.period_size = out->pcm_config.rate*OUT_PERIOD_MS/1000; in adev_open_output_stream()
1252 out->pcm_config.period_size*out->pcm_config.period_count, in adev_open_output_stream()
1476 in->pcm_config.period_size = in->pcm_config.rate*IN_PERIOD_MS/1000; in adev_open_input_stream()
1488 in->pcm_config.period_size*in->pcm_config.period_count, in adev_open_input_stream()
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c242 .period_size = 0,
251 .period_size = 0,
275 int size = out->pcm_config.period_size * in out_get_buffer_size()
412 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
475 buffer_frames = out->pcm_config.period_size; in out_write_worker()
1029 buffer_frames = in->pcm_config.period_size; in in_read_worker()
1243 out->pcm_config.period_size = out->pcm_config.rate*OUT_PERIOD_MS/1000; in adev_open_output_stream()
1255 out->pcm_config.period_size*out->pcm_config.period_count, in adev_open_output_stream()
1479 in->pcm_config.period_size = in->pcm_config.rate*IN_PERIOD_MS/1000; in adev_open_input_stream()
1491 in->pcm_config.period_size*in->pcm_config.period_count, in adev_open_input_stream()
/device/generic/goldfish/audio/
Dtalsa.cpp115 pcm_config.period_size = frameCount; // Approx frames between interrupts in pcmOpen()
/device/amlogic/yukawa/hal/audio/
Daudio_aec.c257 out->config.period_count * out->config.period_size * in init_aec_reference_config()
464 aec->mic_buf_size_bytes = in->config.period_size * audio_stream_in_frame_size(&in->stream); in init_aec_mic_config()
473 aec->spk_buf_size_bytes = in->config.period_size * aec->spk_frame_size_bytes; in init_aec_mic_config()
Daudio_hw.c826 out->config.period_size = PLAYBACK_PERIOD_SIZE; in adev_open_output_stream()
1025 in->config.period_size = CAPTURE_PERIOD_SIZE; in adev_open_input_stream()
/device/linaro/poplar/audio/
Daudio_hw.c299 size_t kernel_buffer_size = out->config.period_size * out->config.period_count; in out_get_presentation_position()
464 out->config.period_size = PERIOD_SIZE; in adev_open_output_stream()
/device/google/coral-sepolicy/vendor/qcom/common/
Dproperty_contexts12 vendor.audio_hal.period_size u:object_r:vendor_audio_prop:s0
/device/linaro/hikey/audio/
Daudio_hw.c483 size_t kernel_buffer_size = out->config.period_size * out->config.period_count; in out_get_presentation_position()
648 out->config.period_size = PERIOD_SIZE; in adev_open_output_stream()
/device/google/bonito-sepolicy/vendor/qcom/common/
Dproperty_contexts49 audio_hal.period_size u:object_r:vendor_default_prop:s0
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dproperty_contexts52 audio_hal.period_size u:object_r:vendor_default_prop:s0
/device/google/wahoo/sepolicy/vendor/
Dproperty_contexts74 audio_hal.period_size u:object_r:vendor_default_prop:s0