diff options
author | Jaroslav Kysela <perex@perex.cz> | 2002-10-12 11:49:53 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2002-10-12 11:49:53 +0000 |
commit | 8205a95376d442f916b4eb062e9714e1c45d88ce (patch) | |
tree | 0a9ba696042c1dfe257304c53b114d8867d6274b /aserver | |
parent | dac0626b9f0a3c244b3b28d6856138e8c74db0ea (diff) |
Replaced snd_pcm_avail() with snd_pcm_hwsync()
Diffstat (limited to 'aserver')
-rw-r--r-- | aserver/aserver.c | 3 |
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; |