From db51f47ae64334f6e7e3489a33396a807cbe65c0 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 23 Nov 2001 16:35:51 +0000 Subject: [PATCH] compiling under qnx, hope it works on all qnx release :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3088 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_alsa5.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libao2/ao_alsa5.c b/libao2/ao_alsa5.c index fbece5d184..fd037c0f03 100644 --- a/libao2/ao_alsa5.c +++ b/libao2/ao_alsa5.c @@ -189,8 +189,10 @@ static int init(int rate_hz, int channels, int format, int flags) printf("alsa-init: pcm channel info error: %s\n", snd_strerror(err)); return(0); } +#ifndef __QNX__ if (chninfo.buffer_size) ao_buffersize = chninfo.buffer_size; +#endif if (verbose) printf("alsa-init: setting preferred buffer size from driver: %d bytes\n", ao_buffersize);