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