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