Lines Matching defs:slave
443 adpcm->states = malloc(adpcm->plug.gen.slave->channels * sizeof(*adpcm->states));
454 return snd_pcm_hw_free(adpcm->plug.gen.slave);
518 snd_pcm_dump(adpcm->plug.gen.slave, out);
541 * \param slave Slave PCM handle
542 * \param close_slave When set, the slave PCM handle is closed with copy PCM
548 int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
553 assert(pcmp && slave);
566 adpcm->plug.gen.slave = slave;
569 err = snd_pcm_new(&pcm, SND_PCM_TYPE_ADPCM, name, slave->stream, slave->mode);
577 pcm->poll_fd = slave->poll_fd;
578 pcm->poll_events = slave->poll_events;
579 pcm->monotonic = slave->monotonic;
592 from master Ima-ADPCM conversion PCM to given slave PCM. The channel count,
598 slave STR # Slave name
600 slave { # Slave definition
638 snd_config_t *slave = NULL, *sconf;
647 if (strcmp(id, "slave") == 0) {
648 slave = n;
654 if (!slave) {
655 SNDERR("slave is not defined");
658 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
665 SNDERR("invalid slave format");