Lines Matching defs:linked
48 snd_pcm_t *linked;
319 * slave #1-(N-1) = trigger slaves, linked is set to #0
326 if (multi->slaves[i].linked)
327 snd_pcm_unlink(multi->slaves[i].linked);
328 multi->slaves[0].linked = NULL;
332 multi->slaves[i].linked = multi->slaves[0].pcm;
367 if (!multi->slaves[i].linked)
372 multi->slaves[i].linked = NULL;
507 /* We call prepare to each slave even if it's linked.
533 /* when the first slave PCM is linked, it means that the whole multi
534 * plugin instance is linked manually to another PCM. in this case,
542 if (multi->slaves[0].linked)
543 return snd_pcm_start(multi->slaves[0].linked);
545 if (multi->slaves[i].linked)
559 if (multi->slaves[0].linked)
560 return snd_pcm_drop(multi->slaves[0].linked);
562 if (multi->slaves[i].linked)
576 if (multi->slaves[0].linked)
577 return snd_pcm_drain(multi->slaves[0].linked);
579 if (multi->slaves[i].linked)
593 if (multi->slaves[0].linked)
594 return snd_pcm_pause(multi->slaves[0].linked, enable);
596 if (multi->slaves[i].linked)
722 if (multi->slaves[0].linked)
723 return snd_pcm_resume(multi->slaves[0].linked);
725 if (multi->slaves[i].linked)
734 /* if a multi plugin instance is linked as slaves, every slave PCMs
745 multi->slaves[i].linked = NULL;
751 multi->slaves[i].linked = master;
757 * slave element as its own slaves are already linked.
774 if (multi->slaves[i].linked)
775 snd_pcm_unlink(multi->slaves[i].linked);
776 multi->slaves[0].linked = NULL;