]> git.sesse.net Git - vlc/commitdiff
* Fixed a nonsense in configure.in preventing to build sdl.so.
authorSam Hocevar <sam@videolan.org>
Sat, 28 Apr 2001 04:47:20 +0000 (04:47 +0000)
committerSam Hocevar <sam@videolan.org>
Sat, 28 Apr 2001 04:47:20 +0000 (04:47 +0000)
  * Removed a few stupid debug instructions in aout_s16.c that should
    have never been commited. Sorry about that.

ChangeLog
configure
configure.in
src/audio_output/aout_s16.c

index a96b9948fa128e6ae9c34bd236a9ba788bda1372..bd7b1bb0980fd2cb7e0ee487c5a495c1d61c66f4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,8 +4,10 @@
 
 HEAD
 
+  * Removed debug instructions in the audio output.
   * Coding style fixes here and there.
   * Miscellaneous QNX compile fixes.
+  * Changed --enable-debug into --enable-trace.
   * Beginning of the mingw32 port by Gildas Bazin <gbazin@netcourrier.com>.
   * Changed broadcast handling.
   * Added a vlc-howto in sgml format in the doc directory.
@@ -17,6 +19,9 @@ HEAD
   * AC3 decoder enhancements.
   * Fixed an alignment issue in the bitstream callback.
   * Got rid of asprintf.
+  * Better angle handling (on the fly selection).
+  * Bugfixes in CSS.
+  * Various changes and bugfixes in the Gnome interface.
   * XVideo fullscreen mode by David Kennedy <dkennedy@tinytoad.com>.
   * X11 fullscreen mode by David Kennedy <dkennedy@tinytoad.com>.
   * Fixed build process when no plugins or no builtins were chosen.
index 59688d74b34c250090edc320e8eb3a82fdd1832e..23ee3041b9ab8fcdb68ffd14f4f3e21e67e873e3 100755 (executable)
--- a/configure
+++ b/configure
@@ -3487,7 +3487,7 @@ if test "${with_sdl+set}" = set; then
       PLUGINS="${PLUGINS} sdl";
       if test "x$withval" != "xyes";
       then
-        LIB_SDL="${LIB_SDL} -L/usr/X11R6/lib -L"$withval"/lib -l"$withval
+        LIB_SDL="${LIB_SDL} -L/usr/X11R6/lib -L"$withval"/lib -lSDL"
         INCLUDE="${INCLUDE} -I"$withval"/include"
       else
         for ac_hdr in SDL/SDL.h
index 0eeb1e8e81eeb7bdf593b79c900e4275ce6e1ab8..62b5778f9106802dba327699ee99bda4780649d3 100644 (file)
@@ -343,7 +343,7 @@ AC_ARG_WITH(sdl,
       PLUGINS="${PLUGINS} sdl";
       if test "x$withval" != "xyes";
       then
-        LIB_SDL="${LIB_SDL} -L/usr/X11R6/lib -L"$withval"/lib -l"$withval
+        LIB_SDL="${LIB_SDL} -L/usr/X11R6/lib -L"$withval"/lib -lSDL"
         INCLUDE="${INCLUDE} -I"$withval"/include"
       else
         AC_CHECK_HEADERS(SDL/SDL.h, , [echo "Cannot find SDL headers !"; exit])
index cacfe01308c6438ec1fd916840ba3b86ab53e129..26387d6e61c99ba73827af28a19f5c9f118be1b7 100644 (file)
@@ -80,28 +80,45 @@ void aout_S16StereoThread( aout_thread_t * p_aout )
 
         for ( l_buffer = 0; l_buffer < l_buffer_limit; l_buffer++ )
         {
-            ((s16 *)p_aout->buffer)[l_buffer] = (s16)( ( p_aout->s32_buffer[l_buffer] / AOUT_MAX_FIFOS ) * p_aout->vol / 256 ) ;
+            ((s16 *)p_aout->buffer)[l_buffer] =
+                     (s16)( ( p_aout->s32_buffer[l_buffer] / AOUT_MAX_FIFOS )
+                            * p_aout->vol / 256 ) ;
             p_aout->s32_buffer[l_buffer] = 0;
         }
 
         l_bytes = p_aout->pf_getbufinfo( p_aout, l_buffer_limit );
-       //fprintf(stderr,"l_bytes 1: %li\n",l_bytes);
-       //fprintf(stderr,"  playing...\n");
-        p_aout->date = mdate() + ((((mtime_t)(l_bytes / 4)) * 1000000) / ((mtime_t)p_aout->l_rate)); /* sizeof(s16) << (p_aout->b_stereo) == 4 */
-        p_aout->pf_play( p_aout, (byte_t *)p_aout->buffer, l_buffer_limit * sizeof(s16) );
-       //fprintf(stderr,"l_bytes #: %li\n",p_aout->pf_getbufinfo( p_aout, l_buffer_limit ));
+#if 0
+        fprintf(stderr,"l_bytes 1: %li\n",l_bytes);
+        fprintf(stderr,"  playing...\n");
+#endif
+
+        /* sizeof(s16) << (p_aout->b_stereo) == 4 */
+        p_aout->date = mdate() + ((((mtime_t)(l_bytes / 4)) * 1000000)
+                                   / ((mtime_t)p_aout->l_rate));
+        p_aout->pf_play( p_aout, (byte_t *)p_aout->buffer,
+                         l_buffer_limit * sizeof(s16) );
+#if 0
+        fprintf( stderr,"l_bytes #: %li\n",
+                 p_aout->pf_getbufinfo( p_aout, l_buffer_limit ) );
+#endif
+
         if ( l_bytes > (l_buffer_limit * sizeof(s16)) )
         {
-       //fprintf(stderr,"  sleeping...\n");
+            msleep( p_aout->l_msleep );
+#if 0
+            fprintf(stderr,"  sleeping...\n");
             msleep( p_aout->l_msleep / 2);
-        l_bytes = p_aout->pf_getbufinfo( p_aout, l_buffer_limit );
-       //fprintf(stderr,"l_bytes *: %li\n",l_bytes);
+            l_bytes = p_aout->pf_getbufinfo( p_aout, l_buffer_limit );
+            fprintf(stderr,"l_bytes *: %li\n",l_bytes);
             msleep( p_aout->l_msleep / 2);
         }
-       else
-       //fprintf(stderr,"  not sleeping.\n");
-        l_bytes = p_aout->pf_getbufinfo( p_aout, l_buffer_limit );
-       //fprintf(stderr,"l_bytes 2: %li\n\n",l_bytes);
+        else
+        {
+            fprintf(stderr,"  not sleeping.\n");
+            l_bytes = p_aout->pf_getbufinfo( p_aout, l_buffer_limit );
+            fprintf(stderr,"l_bytes 2: %li\n\n",l_bytes);
+#endif
+        }
     }
 
     vlc_mutex_lock( &p_aout->fifos_lock );