[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/backend sound_handler_sdl.cpp
From: |
Vitaly Alexeev |
Subject: |
[Gnash-commit] gnash/backend sound_handler_sdl.cpp |
Date: |
Mon, 20 Nov 2006 15:06:14 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Vitaly Alexeev <alexeev> 06/11/20 15:06:13
Modified files:
backend : sound_handler_sdl.cpp
Log message:
* server\parser\movie_def_impl.cpp: usleep(x) ==> Sleep(x/1000)
for win32,
'return _thread == 0' is invalid in win32 that 'pthread_t' is
typedef struct {
void * p; /* Pointer to actual object */
unsigned int x; /* Extra information - reuse count etc
*/
} ptw32_handle_t;
* server\video_stream_instance.h: typo
* gui\gui.cpp: typo
* backend\render_handler_ogl.cpp: GL/glx.h is absent in win32
* backend\sound_handler_sdl.cpp: sdl_audio_callback() is
switched off for win32
because of segmentation fault
* server\video_stream_instance.cpp: typo
* reconfigured win32 dir
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.38&r2=1.39
Patches:
Index: sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- sound_handler_sdl.cpp 17 Nov 2006 19:24:57 -0000 1.38
+++ sound_handler_sdl.cpp 20 Nov 2006 15:06:13 -0000 1.39
@@ -749,7 +749,9 @@
static void
sdl_audio_callback (void *udata, Uint8 *stream, int buffer_length_in)
{
-
+#ifdef WIN32
+ return;
+#endif
if ( buffer_length_in < 0 )
{
gnash::log_error("Negative buffer length in sdl_audio_callback
(%d)", buffer_length_in);