Lines Matching refs:slave
406 snd_pcm_dump(mulaw->plug.gen.slave, out);
429 * \param slave Slave PCM handle
430 * \param close_slave When set, the slave PCM handle is closed with copy PCM
436 int snd_pcm_mulaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
441 assert(pcmp && slave);
455 mulaw->plug.gen.slave = slave;
458 err = snd_pcm_new(&pcm, SND_PCM_TYPE_MULAW, name, slave->stream, slave->mode);
466 pcm->poll_fd = slave->poll_fd;
467 pcm->poll_events = slave->poll_events;
468 pcm->monotonic = slave->monotonic;
481 from master Mu-Law conversion PCM to given slave PCM. The channel count,
487 slave STR # Slave name
489 slave { # Slave definition
527 snd_config_t *slave = NULL, *sconf;
536 if (strcmp(id, "slave") == 0) {
537 slave = n;
543 if (!slave) {
544 SNDERR("slave is not defined");
547 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
554 SNDERR("invalid slave format");