Lines Matching defs:slave
271 snd_pcm_t *slave = lfloat->plug.gen.slave;
282 dst_format = slave->format;
284 src_format = slave->format;
349 snd_pcm_dump(lfloat->plug.gen.slave, out);
375 * \param slave Slave PCM handle
376 * \param close_slave When set, the slave PCM handle is closed with copy PCM
382 int snd_pcm_lfloat_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
387 assert(pcmp && slave);
401 lfloat->plug.gen.slave = slave;
404 err = snd_pcm_new(&pcm, SND_PCM_TYPE_LINEAR_FLOAT, name, slave->stream, slave->mode);
412 pcm->poll_fd = slave->poll_fd;
413 pcm->poll_events = slave->poll_events;
414 pcm->tstamp_type = slave->tstamp_type;
427 linear<->float conversion PCM to given slave PCM. The channel count, format and rate must
433 slave STR # Slave name
435 slave { # Slave definition
473 snd_config_t *slave = NULL, *sconf;
482 if (strcmp(id, "slave") == 0) {
483 slave = n;
489 if (!slave) {
490 SNDERR("slave is not defined");
493 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
500 SNDERR("slave format is not linear integer or linear float");
521 snd_pcm_t *slave ATTRIBUTE_UNUSED,