Lines Matching refs:slave
393 snd_pcm_dump(linear->plug.gen.slave, out);
420 * \param slave Slave PCM handle
421 * \param close_slave When set, the slave PCM handle is closed with copy PCM
427 int snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
432 assert(pcmp && slave);
445 linear->plug.gen.slave = slave;
448 err = snd_pcm_new(&pcm, SND_PCM_TYPE_LINEAR, name, slave->stream, slave->mode);
456 pcm->poll_fd = slave->poll_fd;
457 pcm->poll_events = slave->poll_events;
458 pcm->tstamp_type = slave->tstamp_type;
471 slave PCM. The channel count, format and rate must match for both of them.
476 slave STR # Slave name
478 slave { # Slave definition
516 snd_config_t *slave = NULL, *sconf;
525 if (strcmp(id, "slave") == 0) {
526 slave = n;
532 if (!slave) {
533 SNDERR("slave is not defined");
536 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
542 SNDERR("slave format is not linear");