Lines Matching refs:slave
152 snd_pcm_dump(copy->plug.gen.slave, out);
174 * \param slave Slave PCM handle
175 * \param close_slave When set, the slave PCM handle is closed with copy PCM
181 int snd_pcm_copy_open(snd_pcm_t **pcmp, const char *name, snd_pcm_t *slave, int close_slave)
186 assert(pcmp && slave);
196 copy->plug.gen.slave = slave;
199 err = snd_pcm_new(&pcm, SND_PCM_TYPE_COPY, name, slave->stream, slave->mode);
207 pcm->poll_fd = slave->poll_fd;
208 pcm->poll_events = slave->poll_events;
209 pcm->monotonic = slave->monotonic;
221 This plugin copies samples from master copy PCM to given slave PCM.
227 slave STR # Slave name
229 slave { # Slave definition
266 snd_config_t *slave = NULL, *sconf;
274 if (strcmp(id, "slave") == 0) {
275 slave = n;
281 if (!slave) {
282 SNDERR("slave is not defined");
285 err = snd_pcm_slave_conf(root, slave, &sconf, 0);