Lines Matching refs:slave
451 snd_pcm_close(svol->plug.gen.slave);
621 snd_pcm_t *slave = svol->plug.gen.slave;
629 if (slave->format != SND_PCM_FORMAT_S16_LE &&
630 slave->format != SND_PCM_FORMAT_S16_BE &&
631 slave->format != SND_PCM_FORMAT_S24_3LE &&
632 slave->format != SND_PCM_FORMAT_S24_LE &&
633 slave->format != SND_PCM_FORMAT_S32_LE &&
634 slave->format != SND_PCM_FORMAT_S32_BE) {
639 svol->sformat = slave->format;
706 snd_pcm_dump(svol->plug.gen.slave, out);
907 * \param slave Slave PCM handle
908 * \param close_slave When set, the slave PCM handle is closed with copy PCM
919 snd_pcm_t *slave, int close_slave)
924 assert(pcmp && slave);
936 err = softvol_load_control(slave, svol, ctl_card, ctl_id, cchannels,
944 *pcmp = slave; /* just pass the slave */
945 if (!slave->name && name)
946 slave->name = strdup(name);
958 svol->plug.gen.slave = slave;
961 err = snd_pcm_new(&pcm, SND_PCM_TYPE_SOFTVOL, name, slave->stream, slave->mode);
969 pcm->poll_fd = slave->poll_fd;
970 pcm->poll_events = slave->poll_events;
977 pcm->tstamp_type = slave->tstamp_type;
1098 user-defined control), the plugin simply passes its slave without
1104 slave STR # Slave name
1106 slave { # Slave definition
1157 snd_config_t *slave = NULL, *sconf;
1173 if (strcmp(id, "slave") == 0) {
1174 slave = n;
1210 if (!slave) {
1211 SNDERR("slave is not defined");
1232 err = snd_pcm_slave_conf(root, slave, &sconf, 0);
1239 err = snd_pcm_slave_conf(root, slave, &sconf, 1,