Lines Matching refs:slave
391 snd_pcm_dump(alaw->plug.gen.slave, out);
417 * \param slave Slave PCM handle
418 * \param close_slave When set, the slave PCM handle is closed with copy PCM
424 int snd_pcm_alaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
429 assert(pcmp && slave);
443 alaw->plug.gen.slave = slave;
446 err = snd_pcm_new(&pcm, SND_PCM_TYPE_ALAW, name, slave->stream, slave->mode);
454 pcm->poll_fd = slave->poll_fd;
455 pcm->poll_events = slave->poll_events;
456 pcm->tstamp_type = slave->tstamp_type;
469 from master A-Law conversion PCM to given slave PCM. The channel count,
475 slave STR # Slave name
477 slave { # Slave definition
515 snd_config_t *slave = NULL, *sconf;
524 if (strcmp(id, "slave") == 0) {
525 slave = n;
531 if (!slave) {
532 SNDERR("slave is not defined");
535 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
542 SNDERR("invalid slave format");