snd_pcm_trigger_done(9)

snd_pcm_trigger_done9

Mark the master substream

Usage

void snd_pcm_trigger_done(struct snd_pcm_substream * substream, struct snd_pcm_substream * master);

Arguments

substream

the pcm substream instance

master

the linked master substream

Overview

When multiple substreams of the same card are linked and the hardware supports the single-shot operation, the driver calls this in the loop in snd_pcm_group_for_each_entry for marking the substream as “done”. Then most of trigger operations are performed only to the given master substream.

The trigger_master mark is cleared at timestamp updates at the end of trigger operations.

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