comparison 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
comparison
equal deleted inserted replaced
25905:58cc83083579 25906:ffea6350c511
171 171
172 /** 172 /**
173 * \brief stop playing and empty buffers (for seeking/pause) 173 * \brief stop playing and empty buffers (for seeking/pause)
174 */ 174 */
175 static void reset(void) { 175 static void reset(void) {
176 alSourceRewindv(ao_data.channels, sources); 176 alSourceStopv(ao_data.channels, sources);
177 unqueue_buffers(); 177 unqueue_buffers();
178 } 178 }
179 179
180 /** 180 /**
181 * \brief stop playing, keep buffers (for pause) 181 * \brief stop playing, keep buffers (for pause)