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(map->gen.slave, params);
189 err = _snd_pcm_hw_params(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 avail = snd_pcm_avail_update(slave);
339 map->hw_ptr = *slave->hw.ptr;
355 snd_pcm_dump(map->gen.slave, out);
406 snd_pcm_t *slave, int close_slave)
415 map->gen.slave = slave;
419 slave->stream, slave->mode);
427 pcm->poll_fd = slave->poll_fd;
428 pcm->poll_events = slave->poll_events;
429 pcm->monotonic = slave->monotonic;
445 slave PCM
477 snd_config_t *slave = NULL, *sconf;
486 if (strcmp(id, "slave") == 0) {
487 slave = n;
493 if (!slave) {
494 SNDERR("slave is not defined");
497 err = snd_pcm_slave_conf(root, slave, &sconf, 0);