Changeset 953ef37b0dd76c2f70af72a9a380c5d743eaa864

Show
Ignore:
Timestamp:
01/24/03 07:31:56 (6 years ago)
Author:
Eric Petit <titer@videolan.org>
git-committer:
Eric Petit <titer@videolan.org> 1043389916 +0000
git-parent:

[d68becda6e6f435d579996030f561072292aa479]

git-author:
Eric Petit <titer@videolan.org> 1043389916 +0000
Message:
  • vlc_threads.h: lower a priority that made sound choppy on not-so-fast

BeOS computers (closes #119)

  • others: removed old printf or unused code.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_threads.h

    r8f10d4f r953ef37  
    44 ***************************************************************************** 
    55 * Copyright (C) 1999, 2002 VideoLAN 
    6  * $Id: vlc_threads.h,v 1.22 2003/01/23 23:51:13 massiot Exp $ 
     6 * $Id: vlc_threads.h,v 1.23 2003/01/24 06:31:56 titer Exp $ 
    77 * 
    88 * Authors: Jean-Marc Dressler <polux@via.ecp.fr> 
     
    9595#   define VLC_THREAD_PRIORITY_LOW 5 
    9696#   define VLC_THREAD_PRIORITY_INPUT 10 
    97 #   define VLC_THREAD_PRIORITY_AUDIO 12
     97#   define VLC_THREAD_PRIORITY_AUDIO 10
    9898#   define VLC_THREAD_PRIORITY_VIDEO 15 
    9999#   define VLC_THREAD_PRIORITY_OUTPUT 15 
  • modules/gui/beos/DrawingTidbits.cpp

    rbf2f5b0 r953ef37  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001 VideoLAN 
    5  * $Id: DrawingTidbits.cpp,v 1.2 2002/09/30 18:30:27 titer Exp $ 
     5 * $Id: DrawingTidbits.cpp,v 1.3 2003/01/24 06:31:56 titer Exp $ 
    66 * 
    77 * Authors: Tony Castley <tcastley@mail.powerup.com.au> 
     
    341341                    break; 
    342342                default: 
    343 //printf("unkown colorspace: %ld\n", inBitmap->ColorSpace()); 
    344343                    status = B_MISMATCHED_VALUES; 
    345344                    break; 
  • modules/gui/beos/MediaControlView.cpp

    r2891094 r953ef37  
    33 ***************************************************************************** 
    44 * Copyright (C) 1999, 2000, 2001 VideoLAN 
    5  * $Id: MediaControlView.cpp,v 1.11 2003/01/22 01:13:22 titer Exp $ 
     5 * $Id: MediaControlView.cpp,v 1.12 2003/01/24 06:31:56 titer Exp $ 
    66 * 
    77 * Authors: Tony Castley <tony@castley.net> 
     
    10101010        DrawBitmapAsync(fKnobBits, BPoint(knobPos - kVolumeSliderKnobWidth / 2, r.top)); 
    10111011    } 
    1012     else 
    1013         fprintf(stderr, "VolumeSlider::Draw() - Error: no valid bitmaps!"); 
    10141012} 
    10151013 
  • modules/gui/beos/VideoOutput.cpp

    r490a596 r953ef37  
    33 ***************************************************************************** 
    44 * Copyright (C) 2000, 2001 VideoLAN 
    5  * $Id: VideoOutput.cpp,v 1.9 2002/12/07 22:00:36 titer Exp $ 
     5 * $Id: VideoOutput.cpp,v 1.10 2003/01/24 06:31:56 titer Exp $ 
    66 * 
    77 * Authors: Jean-Marc Dressler <polux@via.ecp.fr> 
     
    285285                { 
    286286                    delete temp; 
    287                     fprintf( stderr, "error copying bitmaps\n" ); 
    288287                } 
    289288            } 
     
    827826                            } 
    828827                        } 
    829                     } else { 
    830                         fprintf( stderr, "  failed to write bitmap: %s\n", 
    831                                  strerror( status ) ); 
    832828                    } 
    833                 } else { 
    834                     fprintf( stderr, "  failed to create output file: %s\n", 
    835                              strerror( status ) ); 
    836829                } 
    837830                outStream.DetachBitmap( &converted ); 
    838831                outFile.Unset(); 
    839832            } 
    840             else 
    841                 fprintf( stderr, "  failed to find translator\n"); 
    842833        } 
    843         else 
    844                 fprintf( stderr, "  failed to convert colorspace: %s\n", 
    845                          strerror( status ) ); 
    846834        delete converted; 
    847835    } 
  • src/misc/threads.c

    r2951522 r953ef37  
    33 ***************************************************************************** 
    44 * Copyright (C) 1999, 2000, 2001, 2002 VideoLAN 
    5  * $Id: threads.c,v 1.34 2003/01/10 17:01:53 titer Exp $ 
     5 * $Id: threads.c,v 1.35 2003/01/24 06:31:56 titer Exp $ 
    66 * 
    77 * Authors: Jean-Marc Dressler <polux@via.ecp.fr> 
     
    628628#elif defined( HAVE_KERNEL_SCHEDULER_H ) 
    629629    p_this->thread_id = spawn_thread( (thread_func)func, psz_name, 
    630                                       i_priority/* B_NORMAL_PRIORITY */, (void *)p_this ); 
     630                                      i_priority, (void *)p_this ); 
    631631    i_ret = resume_thread( p_this->thread_id ); 
    632632