summaryrefslogtreecommitdiff
path: root/aserver
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo@alsa-project.org>2000-10-15 14:15:30 +0000
committerAbramo Bagnara <abramo@alsa-project.org>2000-10-15 14:15:30 +0000
commitd5c49aaa8e0ed598fc3a9ef02fc0d5c254752aa2 (patch)
treea5d9226400cb983278268f0a0d464fbd6e63860a /aserver
parent633815a591934f0a9f6639d7c2c2a36e73ec92ce (diff)
Misc fixes and race condition cleaning
Diffstat (limited to 'aserver')
-rw-r--r--aserver/aserver.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c
index 2ac9683e..b334465b 100644
--- a/aserver/aserver.c
+++ b/aserver/aserver.c
@@ -467,17 +467,7 @@ int pcm_shm_cmd(client_t *client)
}
case SND_PCM_IOCTL_MUNMAP:
{
- size_t k;
ctrl->result = snd_pcm_munmap(pcm);
- if (ctrl->result < 0)
- break;
- for (k = 0; k < pcm->mmap_info_count; ++k) {
- snd_pcm_mmap_info_t *i = &pcm->mmap_info[k];
- if (i->type == SND_PCM_MMAP_USER) {
- int err = shmdt(i->addr);
- assert(err >= 0);
- }
- }
break;
}
case SND_PCM_IOCTL_MMAP_FORWARD: