Lines Matching defs:slave
152 snd_pcm_dump(h->gen.slave, out);
205 * \param slave Slave PCM
206 * \param close_slave If set, slave PCM handle is closed when hooks PCM is closed
212 int snd_pcm_hooks_open(snd_pcm_t **pcmp, const char *name, snd_pcm_t *slave, int close_slave)
218 assert(pcmp && slave);
222 h->gen.slave = slave;
228 err = snd_pcm_new(&pcm, SND_PCM_TYPE_HOOKS, name, slave->stream, slave->mode);
236 pcm->poll_fd = slave->poll_fd;
237 pcm->poll_events = slave->poll_events;
239 pcm->monotonic = slave->monotonic;
240 snd_pcm_link_hw_ptr(pcm, slave);
241 snd_pcm_link_appl_ptr(pcm, slave);
279 slave STR # Slave name
281 slave { # Slave definition
482 snd_config_t *slave = NULL, *sconf;
491 if (strcmp(id, "slave") == 0) {
492 slave = n;
506 if (!slave) {
507 SNDERR("slave is not defined");
510 err = snd_pcm_slave_conf(root, slave, &sconf, 0);