From 27c8f5a118767bdd299e53add507fbb44ac969a9 Mon Sep 17 00:00:00 2001 From: driAn Date: Sun, 25 May 2008 14:19:16 +0000 Subject: [PATCH] fixed ogg streaming issue git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2106 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/sound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 88c7d413..f2782021 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -159,8 +159,9 @@ struct oggstream alclearerr(); alBufferData(bufid, format, pcm, size, info->rate); + return !alerr(); } - return !alerr(); + return false; } bool update()