Lines Matching refs:slave
422 snd_pcm_dump(linear->plug.gen.slave, out);
446 * \param slave Slave PCM handle
447 * \param close_slave When set, the slave PCM handle is closed with copy PCM
453 int snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
458 assert(pcmp && slave);
471 linear->plug.gen.slave = slave;
474 err = snd_pcm_new(&pcm, SND_PCM_TYPE_LINEAR, name, slave->stream, slave->mode);
482 pcm->poll_fd = slave->poll_fd;
483 pcm->poll_events = slave->poll_events;
484 pcm->monotonic = slave->monotonic;
497 slave PCM. The channel count, format and rate must match for both of them.
502 slave STR # Slave name
504 slave { # Slave definition
542 snd_config_t *slave = NULL, *sconf;
551 if (strcmp(id, "slave") == 0) {
552 slave = n;
558 if (!slave) {
559 SNDERR("slave is not defined");
562 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
568 SNDERR("slave format is not linear");