Lines Matching refs:access
39 static void test_demuxer(struct mapper_context *mapper, snd_pcm_access_t access, in test_demuxer() argument
54 err = mapper_context_pre_process(mapper, access, bytes_per_sample, in test_demuxer()
69 static int test_demux(struct mapper_trial *trial, snd_pcm_access_t access, in test_demux() argument
115 test_demuxer(&trial->mapper, access, bytes_per_sample, in test_demux()
130 static void test_muxer(struct mapper_context *mapper, snd_pcm_access_t access, in test_muxer() argument
145 err = mapper_context_pre_process(mapper, access, bytes_per_sample, in test_muxer()
160 static int test_mux(struct mapper_trial *trial, snd_pcm_access_t access, in test_mux() argument
205 test_muxer(&trial->mapper, access, bytes_per_sample, samples_per_frame, in test_mux()
220 static int test_mapper(struct mapper_trial *trial, snd_pcm_access_t access, in test_mapper() argument
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()
406 static int callback(struct test_generator *gen, snd_pcm_access_t access, in callback() argument
412 int (*handler)(struct mapper_trial *trial, snd_pcm_access_t access, in callback()
419 if (access == SND_PCM_ACCESS_RW_NONINTERLEAVED) in callback()
421 else if (access == SND_PCM_ACCESS_MMAP_NONINTERLEAVED) in callback()
426 return handler(trial, access, sample_format, samples_per_frame, 48000, in callback()
447 snd_pcm_access_t access; in main() local
474 access = strtol(argv[1], &term, 10); in main()
479 if (access < SND_PCM_ACCESS_MMAP_INTERLEAVED && in main()
480 access > SND_PCM_ACCESS_RW_NONINTERLEAVED) { in main()
484 if (access == SND_PCM_ACCESS_MMAP_COMPLEX) { in main()
489 access_mask = 1ull << access; in main()