Lines Matching refs:slave
391 snd_pcm_dump(alaw->plug.gen.slave, out);
414 * \param slave Slave PCM handle
415 * \param close_slave When set, the slave PCM handle is closed with copy PCM
421 int snd_pcm_alaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
426 assert(pcmp && slave);
440 alaw->plug.gen.slave = slave;
443 err = snd_pcm_new(&pcm, SND_PCM_TYPE_ALAW, name, slave->stream, slave->mode);
451 pcm->poll_fd = slave->poll_fd;
452 pcm->poll_events = slave->poll_events;
453 pcm->monotonic = slave->monotonic;
466 from master A-Law conversion PCM to given slave PCM. The channel count,
472 slave STR # Slave name
474 slave { # Slave definition
512 snd_config_t *slave = NULL, *sconf;
521 if (strcmp(id, "slave") == 0) {
522 slave = n;
528 if (!slave) {
529 SNDERR("slave is not defined");
532 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
539 SNDERR("invalid slave format");