changeset 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 58cc83083579
children bc8452f11147
files libao2/ao_openal.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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();
 }