Name

snd_pcm_trigger_done — Mark the master substream

Synopsis

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

Description

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.