Home
last modified time | relevance | path

Searched refs:period_count (Results 1 – 14 of 14) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c76 unsigned int period_count);
96 unsigned int period_count = 4;
157 period_count = atoi(*argv);
169 chunk_fmt.bits_per_sample, period_size, period_count);
203 unsigned int period_count) in sample_is_playable() argument
218 can_play &= check_param(params, PCM_PARAM_PERIODS, period_count, "Period count", "Hz"); in sample_is_playable()
231 unsigned int period_count) in xa_playback_open() argument
240 config.period_count = period_count; in xa_playback_open()
249 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in xa_playback_open()
290 unsigned int period_count)
[all …]
Dxa_playback.h35 unsigned int period_count);
/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-test.c50 unsigned int period_count = 4; variable
295 pb_format.pcm_width, period_size, period_count); in main()
Dxaf-dec-mix-test.c226 unsigned int period_count = 4; in main() local
370 pb_format.pcm_width, period_size, period_count); in main()
/device/generic/goldfish/audio/
Dtalsa.cpp116 pcm_config.period_count = 8; // Approx interrupts per buffer in pcmOpen()
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c888 param_set_int(&params, SNDRV_PCM_HW_PARAM_PERIODS, config->period_count); in pcm_open()
915 config->period_count = param_get_int(&params, SNDRV_PCM_HW_PARAM_PERIODS); 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()
Dasoundlib.h90 unsigned int period_count; member
/device/amlogic/yukawa/hal/audio/
Daudio_aec.c257 out->config.period_count * out->config.period_size * in init_aec_reference_config()
266 out->config.period_count * sizeof(struct aec_info), in init_aec_reference_config()
Daudio_hw.c827 out->config.period_count = PLAYBACK_PERIOD_COUNT; in adev_open_output_stream()
1026 in->config.period_count = CAPTURE_PERIOD_COUNT; 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()
465 out->config.period_count = PLAYBACK_PERIOD_COUNT; in adev_open_output_stream()
/device/generic/car/emulator/audio/driver/
Daudio_hw.c64 .period_count = OUT_PERIOD_COUNT,
73 .period_count = IN_PERIOD_COUNT,
1012 out->pcm_config.period_size*out->pcm_config.period_count, in adev_open_output_stream()
1219 in->pcm_config.period_size*in->pcm_config.period_count, in adev_open_input_stream()
/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()
649 out->config.period_count = PLAYBACK_PERIOD_COUNT; in adev_open_output_stream()
/device/linaro/dragonboard/audio/
Daudio_hw.c240 .period_count = OUT_PERIOD_COUNT,
249 .period_count = IN_PERIOD_COUNT,
1252 out->pcm_config.period_size*out->pcm_config.period_count, in adev_open_output_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.c243 .period_count = OUT_PERIOD_COUNT,
252 .period_count = IN_PERIOD_COUNT,
1255 out->pcm_config.period_size*out->pcm_config.period_count, in adev_open_output_stream()
1491 in->pcm_config.period_size*in->pcm_config.period_count, in adev_open_input_stream()