summaryrefslogtreecommitdiff
path: root/aserver/aserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'aserver/aserver.c')
-rw-r--r--aserver/aserver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c
index 230c9ebf..60af87bf 100644
--- a/aserver/aserver.c
+++ b/aserver/aserver.c
@@ -468,6 +468,9 @@ static int pcm_shm_cmd(client_t *client)
case SND_PCM_IOCTL_STATE:
ctrl->result = snd_pcm_state(pcm);
break;
+ case SND_PCM_IOCTL_HWSYNC:
+ ctrl->result = snd_pcm_hwsync(pcm);
+ break;
case SNDRV_PCM_IOCTL_DELAY:
ctrl->result = snd_pcm_delay(pcm, (snd_pcm_sframes_t *) &ctrl->u.delay.frames);
break;