Lines Matching refs:slave
66 err = snd_pcm_hw_refine(map->gen.slave, params);
88 err = snd_pcm_hw_refine(map->gen.slave, &new);
150 * from the layering slave PCM, and they are sync'ed appropriately in
163 err = _snd_pcm_hw_params_internal(map->gen.slave, params);
189 err = _snd_pcm_hw_params_internal(map->gen.slave, params);
220 /* HACK: don't auto-start in the slave PCM */
272 /* write out the uncommitted chunk on mmap buffer to the slave PCM */
277 snd_pcm_t *slave = map->gen.slave;
284 size = map->appl_ptr - *slave->appl.ptr;
288 offset = *slave->appl.ptr % pcm->buffer_size;
295 /* read the available chunk on the slave PCM to mmap buffer */
300 snd_pcm_t *slave = map->gen.slave;
304 size = *slave->hw.ptr - map->hw_ptr;
321 snd_pcm_t *slave = map->gen.slave;
325 return snd_pcm_mmap_commit(slave, offset, size);
334 snd_pcm_t *slave = map->gen.slave;
337 map->hw_ptr = *slave->hw.ptr;
353 snd_pcm_dump(map->gen.slave, out);
408 snd_pcm_t *slave, int close_slave)
417 map->gen.slave = slave;
421 slave->stream, slave->mode);
429 pcm->poll_fd = slave->poll_fd;
430 pcm->poll_events = slave->poll_events;
431 pcm->tstamp_type = slave->tstamp_type;
447 slave PCM
479 snd_config_t *slave = NULL, *sconf;
488 if (strcmp(id, "slave") == 0) {
489 slave = n;
495 if (!slave) {
496 SNDERR("slave is not defined");
499 err = snd_pcm_slave_conf(root, slave, &sconf, 0);