Lines Matching defs:slave
272 snd_pcm_t *slave = lfloat->plug.gen.slave;
283 dst_format = slave->format;
285 src_format = slave->format;
350 snd_pcm_dump(lfloat->plug.gen.slave, out);
373 * \param slave Slave PCM handle
374 * \param close_slave When set, the slave PCM handle is closed with copy PCM
380 int snd_pcm_lfloat_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave)
385 assert(pcmp && slave);
399 lfloat->plug.gen.slave = slave;
402 err = snd_pcm_new(&pcm, SND_PCM_TYPE_LINEAR_FLOAT, name, slave->stream, slave->mode);
410 pcm->poll_fd = slave->poll_fd;
411 pcm->poll_events = slave->poll_events;
412 pcm->monotonic = slave->monotonic;
425 linear<->float conversion PCM to given slave PCM. The channel count, format and rate must
431 slave STR # Slave name
433 slave { # Slave definition
471 snd_config_t *slave = NULL, *sconf;
480 if (strcmp(id, "slave") == 0) {
481 slave = n;
487 if (!slave) {
488 SNDERR("slave is not defined");
491 err = snd_pcm_slave_conf(root, slave, &sconf, 1,
498 SNDERR("slave format is not linear integer or linear float");
519 snd_pcm_t *slave ATTRIBUTE_UNUSED,