changeset 3087:08947e067d80

compiling under qnx, hope it works on all qnx release :)
author alex
date Fri, 23 Nov 2001 16:35:51 +0000
parents 78053f705a7a
children 73c2e9304d08
files libao2/ao_alsa5.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_alsa5.c	Fri Nov 23 16:34:04 2001 +0000
+++ b/libao2/ao_alsa5.c	Fri Nov 23 16:35:51 2001 +0000
@@ -189,8 +189,10 @@
 	    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);