diff --git a/aplay/aplay.c b/aplay/aplay.c index 3428150..c8b79b6 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -53,10 +53,10 @@ /* global data */ -static ssize_t (*readi_func)(snd_pcm_t *handle, void *buffer, size_t size); -static ssize_t (*writei_func)(snd_pcm_t *handle, const void *buffer, size_t size); -static ssize_t (*readn_func)(snd_pcm_t *handle, void **bufs, size_t size); -static ssize_t (*writen_func)(snd_pcm_t *handle, void **bufs, size_t size); +static snd_pcm_sframes_t (*readi_func)(snd_pcm_t *handle, void *buffer, snd_pcm_uframes_t size); +static snd_pcm_sframes_t (*writei_func)(snd_pcm_t *handle, const void *buffer, snd_pcm_uframes_t size); +static snd_pcm_sframes_t (*readn_func)(snd_pcm_t *handle, void **bufs, snd_pcm_uframes_t size); +static snd_pcm_sframes_t (*writen_func)(snd_pcm_t *handle, void **bufs, snd_pcm_uframes_t size); static char *command; static snd_pcm_t *handle;