Lines Matching defs:slave
152 snd_pcm_dump(copy->plug.gen.slave, out);
177 * \param slave Slave PCM handle
178 * \param close_slave When set, the slave PCM handle is closed with copy PCM
184 int snd_pcm_copy_open(snd_pcm_t **pcmp, const char *name, snd_pcm_t *slave, int close_slave)
189 assert(pcmp && slave);
199 copy->plug.gen.slave = slave;
202 err = snd_pcm_new(&pcm, SND_PCM_TYPE_COPY, name, slave->stream, slave->mode);
210 pcm->poll_fd = slave->poll_fd;
211 pcm->poll_events = slave->poll_events;
212 pcm->tstamp_type = slave->tstamp_type;
224 This plugin copies samples from master copy PCM to given slave PCM.
230 slave STR # Slave name
232 slave { # Slave definition
269 snd_config_t *slave = NULL, *sconf;
277 if (strcmp(id, "slave") == 0) {
278 slave = n;
284 if (!slave) {
285 SNDERR("slave is not defined");
288 err = snd_pcm_slave_conf(root, slave, &sconf, 0);