Changeset 953ef37b0dd76c2f70af72a9a380c5d743eaa864
- 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
| r8f10d4f |
r953ef37 |
|
| 4 | 4 | ***************************************************************************** |
|---|
| 5 | 5 | * 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 $ |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | * Authors: Jean-Marc Dressler <polux@via.ecp.fr> |
|---|
| … | … | |
| 95 | 95 | # define VLC_THREAD_PRIORITY_LOW 5 |
|---|
| 96 | 96 | # define VLC_THREAD_PRIORITY_INPUT 10 |
|---|
| 97 | | # define VLC_THREAD_PRIORITY_AUDIO 120 |
|---|
| | 97 | # define VLC_THREAD_PRIORITY_AUDIO 100 |
|---|
| 98 | 98 | # define VLC_THREAD_PRIORITY_VIDEO 15 |
|---|
| 99 | 99 | # define VLC_THREAD_PRIORITY_OUTPUT 15 |
|---|
| rbf2f5b0 |
r953ef37 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * 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 $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Tony Castley <tcastley@mail.powerup.com.au> |
|---|
| … | … | |
| 341 | 341 | break; |
|---|
| 342 | 342 | default: |
|---|
| 343 | | //printf("unkown colorspace: %ld\n", inBitmap->ColorSpace()); |
|---|
| 344 | 343 | status = B_MISMATCHED_VALUES; |
|---|
| 345 | 344 | break; |
|---|
| r2891094 |
r953ef37 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * 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 $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Tony Castley <tony@castley.net> |
|---|
| … | … | |
| 1010 | 1010 | DrawBitmapAsync(fKnobBits, BPoint(knobPos - kVolumeSliderKnobWidth / 2, r.top)); |
|---|
| 1011 | 1011 | } |
|---|
| 1012 | | else |
|---|
| 1013 | | fprintf(stderr, "VolumeSlider::Draw() - Error: no valid bitmaps!"); |
|---|
| 1014 | 1012 | } |
|---|
| 1015 | 1013 | |
|---|
| r490a596 |
r953ef37 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * 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 $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Jean-Marc Dressler <polux@via.ecp.fr> |
|---|
| … | … | |
| 285 | 285 | { |
|---|
| 286 | 286 | delete temp; |
|---|
| 287 | | fprintf( stderr, "error copying bitmaps\n" ); |
|---|
| 288 | 287 | } |
|---|
| 289 | 288 | } |
|---|
| … | … | |
| 827 | 826 | } |
|---|
| 828 | 827 | } |
|---|
| 829 | | } else { |
|---|
| 830 | | fprintf( stderr, " failed to write bitmap: %s\n", |
|---|
| 831 | | strerror( status ) ); |
|---|
| 832 | 828 | } |
|---|
| 833 | | } else { |
|---|
| 834 | | fprintf( stderr, " failed to create output file: %s\n", |
|---|
| 835 | | strerror( status ) ); |
|---|
| 836 | 829 | } |
|---|
| 837 | 830 | outStream.DetachBitmap( &converted ); |
|---|
| 838 | 831 | outFile.Unset(); |
|---|
| 839 | 832 | } |
|---|
| 840 | | else |
|---|
| 841 | | fprintf( stderr, " failed to find translator\n"); |
|---|
| 842 | 833 | } |
|---|
| 843 | | else |
|---|
| 844 | | fprintf( stderr, " failed to convert colorspace: %s\n", |
|---|
| 845 | | strerror( status ) ); |
|---|
| 846 | 834 | delete converted; |
|---|
| 847 | 835 | } |
|---|
| r2951522 |
r953ef37 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * 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 $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Jean-Marc Dressler <polux@via.ecp.fr> |
|---|
| … | … | |
| 628 | 628 | #elif defined( HAVE_KERNEL_SCHEDULER_H ) |
|---|
| 629 | 629 | 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 ); |
|---|
| 631 | 631 | i_ret = resume_thread( p_this->thread_id ); |
|---|
| 632 | 632 | |
|---|