  #if SDL_AUDIO_DRIVER_DISK
  extern AudioBootStrap DISKAUD_bootstrap;
  #endif
-diff --git SDL-1.2.14/src/audio/nacl/SDL_naclaudio.cc SDL-1.2.14/src/audio/nacl/SDL_naclaudio.cc
-new file mode 100644
-index 0000000..6e33b2d
---- /dev/null
-+++ SDL-1.2.14/src/audio/nacl/SDL_naclaudio.cc
+diff -urN SDL-1.2.14/src/audio/nacl/SDL_naclaudio.cc SDL-1.2.14-nacl/src/audio/nacl/SDL_naclaudio.cc
+--- SDL-1.2.14/src/audio/nacl/SDL_naclaudio.cc	1970-01-01 03:00:00.000000000 +0300
++++ SDL-1.2.14-nacl/src/audio/nacl/SDL_naclaudio.cc	2011-05-27 12:35:37.274169187 +0400
 @@ -0,0 +1,133 @@
 +
 +#include "SDL_config.h"

+  SDL_UnlockMutex(_this->hidden->flush_mutex);
+}
+
+static void flip(_THIS) {
+  assert(_this->hidden->image_data);
+  assert(_this->hidden->w == _this->hidden->ow);
+  assert(_this->hidden->h == _this->hidden->oh);
+
+  SDL_LockMutex(_this->hidden->flush_mutex);
+
+  if (_this->hidden->flush_pending)
+  // If we are flushing, wait.
+  // TODO(eugenis): this blocks the game thread. Should we just drop the frame
+  // instead, or store it in some kind of a side buffer?

+  return 1;
+}
+} // extern "C"
diff -urN SDL-1.2.14/src/audio/nacl/SDL_naclaudio.h SDL-1.2.14-nacl/src/audio/nacl/SDL_naclaudio.h
--- SDL-1.2.14/src/audio/nacl/SDL_naclaudio.h	1970-01-01 03:00:00.000000000 +0300
+++ SDL-1.2.14-nacl/src/audio/nacl/SDL_naclaudio.h	2011-05-27 12:35:37.274169187 +0400
@@ -0,0 +1,30 @@
+#include "SDL_config.h"
+
