Lines Matching defs:slave
442 adpcm->states = malloc(adpcm->plug.gen.slave->channels * sizeof(*adpcm->states));
453 return snd_pcm_hw_free(adpcm->plug.gen.slave);
517 snd_pcm_dump(adpcm->plug.gen.slave, out);
543 * \param slave Slave PCM handle
544 * \param close_slave When set, the slave PCM handle is closed with copy PCM
550 int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
555 assert(pcmp && slave);
568 adpcm->plug.gen.slave = slave;
571 err = snd_pcm_new(&pcm, SND_PCM_TYPE_ADPCM, name, slave->stream, slave->mode);
579 pcm->poll_fd = slave->poll_fd;
580 pcm->poll_events = slave->poll_events;
581 pcm->tstamp_type = slave->tstamp_type;
594 from master Ima-ADPCM conversion PCM to given slave PCM. The channel count,
600 slave STR # Slave name
602 slave { # Slave definition
640 snd_config_t *slave = NULL, *sconf;
649 if (strcmp(id, "slave") == 0) {
650 slave = n;
656 if (!slave) {
657 SNDERR("slave is not defined");
660 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
667 SNDERR("invalid slave format");