• Home
  • Raw
  • Download

Lines Matching refs:pcm_config

177     struct pcm_config pcm_config;     // Constant after init  member
203 struct pcm_config pcm_config; // Constant after init member
221 static struct pcm_config pcm_config_out = {
230 static struct pcm_config pcm_config_in = {
257 int size = out->pcm_config.period_size * in out_get_buffer_size()
398 return (out->pcm_config.period_size * 1000) / out->pcm_config.rate; in out_get_latency()
450 PCM_OUT | PCM_MONOTONIC, &out->pcm_config); in out_write_worker()
454 out->pcm_config.channels, in out_write_worker()
455 out->pcm_config.format, in out_write_worker()
456 out->pcm_config.rate in out_write_worker()
461 buffer_frames = out->pcm_config.period_size; in out_write_worker()
1021 PCM_IN | PCM_MONOTONIC, &in->pcm_config); in in_read_worker()
1025 in->pcm_config.channels, in in_read_worker()
1026 in->pcm_config.format, in in_read_worker()
1027 in->pcm_config.rate in in_read_worker()
1032 buffer_frames = in->pcm_config.period_size; in in_read_worker()
1113 in->pcm_config.channels == 2) { in in_read()
1240 memcpy(&out->pcm_config, &pcm_config_out, sizeof(struct pcm_config)); in adev_open_output_stream()
1241 out->pcm_config.rate = config->sample_rate; in adev_open_output_stream()
1242 out->pcm_config.period_size = out->pcm_config.rate*OUT_PERIOD_MS/1000; in adev_open_output_stream()
1254 out->pcm_config.period_size*out->pcm_config.period_count, in adev_open_output_stream()
1255 out->pcm_config.channels * in adev_open_output_stream()
1256 pcm_format_to_bits(out->pcm_config.format) >> 3); in adev_open_output_stream()
1433 memcpy(&in->pcm_config, &pcm_config_in, sizeof(struct pcm_config)); in adev_open_input_stream()
1434 in->pcm_config.rate = config->sample_rate; in adev_open_input_stream()
1435 in->pcm_config.period_size = in->pcm_config.rate*IN_PERIOD_MS/1000; in adev_open_input_stream()
1447 in->pcm_config.period_size*in->pcm_config.period_count, in adev_open_input_stream()
1448 in->pcm_config.channels * in adev_open_input_stream()
1449 pcm_format_to_bits(in->pcm_config.format) >> 3); in adev_open_input_stream()