diff libao2/ao_openal.c @ 25906:ffea6350c511

alSourceRewindv seems to be broken in particular in Creatives Windows-Implementation, use alSourceStopv instead.
author reimar
date Wed, 30 Jan 2008 22:28:41 +0000
parents acfe034e5386
children bc8452f11147
line wrap: on
line diff
--- a/libao2/ao_openal.c	Wed Jan 30 21:46:20 2008 +0000
+++ b/libao2/ao_openal.c	Wed Jan 30 22:28:41 2008 +0000
@@ -173,7 +173,7 @@
  * \brief stop playing and empty buffers (for seeking/pause)
  */
 static void reset(void) {
-  alSourceRewindv(ao_data.channels, sources);
+  alSourceStopv(ao_data.channels, sources);
   unqueue_buffers();
 }