Lines Matching defs:trial
69 static int test_demux(struct mapper_trial *trial, snd_pcm_access_t access,
77 struct container_context *cntrs = trial->cntrs;
78 enum container_format cntr_format = trial->cntr_format;
115 test_demuxer(&trial->mapper, access, bytes_per_sample,
117 frame_count, cntrs, cntr_count, trial->verbose);
160 static int test_mux(struct mapper_trial *trial, snd_pcm_access_t access,
168 struct container_context *cntrs = trial->cntrs;
205 test_muxer(&trial->mapper, access, bytes_per_sample, samples_per_frame,
207 cntr_count, trial->verbose);
220 static int test_mapper(struct mapper_trial *trial, snd_pcm_access_t access,
240 const char *path = trial->paths[i];
253 err = test_demux(trial, access, sample_format, samples_per_frame,
267 err = test_mux(trial, access, sample_format, samples_per_frame,
279 static int test_i_buf(struct mapper_trial *trial, snd_pcm_access_t access,
297 err = test_mapper(trial, access, sample_format, samples_per_frame,
306 err = test_mapper(trial, access, sample_format, samples_per_frame,
319 static int test_vector(struct mapper_trial *trial, snd_pcm_access_t access,
346 err = test_mapper(trial, access, sample_format, samples_per_frame,
358 err = test_mapper(trial, access, sample_format, samples_per_frame,
378 static int test_n_buf(struct mapper_trial *trial, snd_pcm_access_t access,
399 err = test_vector(trial, access, sample_format, samples_per_frame,
412 int (*handler)(struct mapper_trial *trial, snd_pcm_access_t access,
417 struct mapper_trial *trial = gen->private_data;
426 return handler(trial, access, sample_format, samples_per_frame, 48000,
443 struct mapper_trial *trial;
506 trial = gen.private_data;
507 trial->cntrs = cntrs;
508 trial->cntr_format = CONTAINER_FORMAT_RIFF_WAVE;
509 trial->paths = paths;
510 trial->verbose = verbose;