snd_dmaengine_pcm_trigger(9)

snd_dmaengine_pcm_trigger9

Dmaengine based pcm trigger implementation

Usage

int snd_dmaengine_pcm_trigger(struct snd_pcm_substream * substream, int cmd);

Arguments

substream

PCM substream

cmd

Trigger command

Overview

Returns 0 on success, a negative error code otherwise.

This function can be used as the PCM trigger callback for dmaengine based PCM driver implementations.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.