summaryrefslogtreecommitdiff
path: root/aserver/aserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'aserver/aserver.c')
-rw-r--r--aserver/aserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c
index 083a8f1f..eef9a675 100644
--- a/aserver/aserver.c
+++ b/aserver/aserver.c
@@ -386,8 +386,8 @@ int pcm_shm_cmd(client_t *client)
case SND_PCM_IOCTL_DRAIN:
ctrl->result = snd_pcm_drain(pcm);
break;
- case SND_PCM_IOCTL_STOP:
- ctrl->result = snd_pcm_stop(pcm);
+ case SND_PCM_IOCTL_DROP:
+ ctrl->result = snd_pcm_drop(pcm);
break;
case SND_PCM_IOCTL_PAUSE:
ctrl->result = snd_pcm_pause(pcm, ctrl->u.pause);