Lines Matching defs:direction
122 static int context_init(struct context *ctx, snd_pcm_stream_t direction,
148 return xfer_context_init(&ctx->xfer, xfer_type, direction, argc, argv);
328 static int context_pre_process(struct context *ctx, snd_pcm_stream_t direction,
337 if (direction == SND_PCM_STREAM_CAPTURE) {
371 snd_pcm_stream_t direction,
383 snd_pcm_stream_name(direction),
429 snd_pcm_stream_name(direction), expected_frame_count,
473 int subcmd_transfer(int argc, char *const *argv, snd_pcm_stream_t direction)
484 err = context_init(&ctx, direction, argc, argv);
490 err = context_pre_process(&ctx, direction, &expected_frame_count);
494 err = context_process_frames(&ctx, direction, expected_frame_count,