/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 75 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 …]
|
D | xa_playback.h | 34 unsigned int period_size,
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/ |
D | pcm.c | 881 param_set_min(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, config->period_size); in pcm_open() 914 config->period_size = param_get_int(¶ms, 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()
|
D | asoundlib.h | 89 unsigned int period_size; member
|
/device/generic/car/emulator/audio/driver/ |
D | audio_hw.c | 63 .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/ |
D | xaf-dec-test.c | 49 unsigned int period_size = 1024; variable 295 pb_format.pcm_width, period_size, period_count); in main()
|
D | xaf-dec-mix-test.c | 225 unsigned int period_size = 1024; in main() local 370 pb_format.pcm_width, period_size, period_count); in main()
|
/device/linaro/dragonboard/audio/ |
D | audio_hw.c | 239 .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/ |
D | audio_hw.c | 242 .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/ |
D | talsa.cpp | 115 pcm_config.period_size = frameCount; // Approx frames between interrupts in pcmOpen()
|
/device/amlogic/yukawa/hal/audio/ |
D | audio_aec.c | 257 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()
|
D | audio_hw.c | 826 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/ |
D | audio_hw.c | 299 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/ |
D | property_contexts | 12 vendor.audio_hal.period_size u:object_r:vendor_audio_prop:s0
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 483 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/ |
D | property_contexts | 49 audio_hal.period_size u:object_r:vendor_default_prop:s0
|
/device/google/crosshatch-sepolicy/vendor/qcom/common/ |
D | property_contexts | 52 audio_hal.period_size u:object_r:vendor_default_prop:s0
|
/device/google/wahoo/sepolicy/vendor/ |
D | property_contexts | 74 audio_hal.period_size u:object_r:vendor_default_prop:s0
|