Lines Matching refs:i1
316 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1];
318 if (i1->type != i->type)
320 switch (i1->type) {
322 if (i1->u.mmap.fd != i->u.mmap.fd ||
323 i1->u.mmap.offset != i->u.mmap.offset)
327 if (i1->u.shm.shmid != i->u.shm.shmid)
335 s = i1->first + i1->step * (pcm->buffer_size - 1) + pcm->sample_bits;
380 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1];
381 if (i1->u.shm.shmid < 0) {
382 i1->u.shm.shmid = id;
383 i1->u.shm.area = snd_shm_area_share(i->u.shm.area);
412 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1];
413 if (i1->type != i->type)
415 switch (i1->type) {
417 if (i1->u.mmap.fd != i->u.mmap.fd ||
418 i1->u.mmap.offset != i->u.mmap.offset)
422 if (i1->u.shm.shmid != i->u.shm.shmid)
433 i1->addr = i->addr;
464 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1];
466 if (i1->addr != i->addr)
468 i1->addr = NULL;
469 s = i1->first + i1->step * (pcm->buffer_size - 1) + pcm->sample_bits;
493 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1];
494 if (i1->u.shm.area) {
495 snd_shm_area_destroy(i1->u.shm.area);
496 i1->u.shm.area = NULL;