Lines Matching defs:xfer
3 // xfer-libasound.c - receive/transmit frames by alsa-lib.
9 #include "xfer-libasound.h"
62 static int xfer_libasound_init(struct xfer_context *xfer,
65 struct libasound_state *state = xfer->private_data;
79 static int xfer_libasound_parse_opt(struct xfer_context *xfer, int key,
82 struct libasound_state *state = xfer->private_data;
131 int xfer_libasound_validate_opts(struct xfer_context *xfer)
133 struct libasound_state *state = xfer->private_data;
136 state->verbose = xfer->verbose > 1;
260 static int open_handle(struct xfer_context *xfer)
262 struct libasound_state *state = xfer->private_data;
277 err = snd_pcm_open(&state->handle, state->node_literal, xfer->direction,
281 snd_pcm_stream_name(xfer->direction),
299 if (xfer->dump_hw_params) {
642 static int xfer_libasound_pre_process(struct xfer_context *xfer,
649 struct libasound_state *state = xfer->private_data;
653 err = open_handle(xfer);
734 if (xfer->verbose > 0) {
747 if (xfer->verbose > 0) {
758 static int xfer_libasound_process_frames(struct xfer_context *xfer,
763 struct libasound_state *state = xfer->private_data;
792 static void xfer_libasound_pause(struct xfer_context *xfer, bool enable)
794 struct libasound_state *state = xfer->private_data;
819 static void xfer_libasound_post_process(struct xfer_context *xfer)
821 struct libasound_state *state = xfer->private_data;
867 static void xfer_libasound_destroy(struct xfer_context *xfer)
869 struct libasound_state *state = xfer->private_data;
890 static void xfer_libasound_help(struct xfer_context *xfer ATTRIBUTE_UNUSED)