Lines Matching refs:slave
400 snd_pcm_close(svol->plug.gen.slave);
569 snd_pcm_t *slave = svol->plug.gen.slave;
577 if (slave->format != SND_PCM_FORMAT_S16_LE &&
578 slave->format != SND_PCM_FORMAT_S16_BE &&
579 slave->format != SND_PCM_FORMAT_S24_3LE &&
580 slave->format != SND_PCM_FORMAT_S32_LE &&
581 slave->format != SND_PCM_FORMAT_S32_BE) {
586 svol->sformat = slave->format;
653 snd_pcm_dump(svol->plug.gen.slave, out);
834 * \param slave Slave PCM handle
835 * \param close_slave When set, the slave PCM handle is closed with copy PCM
846 snd_pcm_t *slave, int close_slave)
851 assert(pcmp && slave);
862 err = softvol_load_control(slave, svol, ctl_card, ctl_id, cchannels,
870 *pcmp = slave; /* just pass the slave */
871 if (!slave->name && name)
872 slave->name = strdup(name);
884 svol->plug.gen.slave = slave;
887 err = snd_pcm_new(&pcm, SND_PCM_TYPE_SOFTVOL, name, slave->stream, slave->mode);
895 pcm->poll_fd = slave->poll_fd;
896 pcm->poll_events = slave->poll_events;
903 pcm->monotonic = slave->monotonic;
926 user-defined control), the plugin simply passes its slave without
932 slave STR # Slave name
934 slave { # Slave definition
985 snd_config_t *slave = NULL, *sconf;
1001 if (strcmp(id, "slave") == 0) {
1002 slave = n;
1038 if (!slave) {
1039 SNDERR("slave is not defined");
1060 err = snd_pcm_slave_conf(root, slave, &sconf, 0);
1068 err = snd_pcm_slave_conf(root, slave, &sconf, 1,