"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/main.cpp" between
lmms_1.2.0.tar.xz and lmms_1.2.1.tar.xz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support).

main.cpp  (lmms_1.2.0.tar.xz):main.cpp  (lmms_1.2.1.tar.xz)
skipping to change at line 642 skipping to change at line 642
#ifdef QT_TRANSLATIONS_DIR #ifdef QT_TRANSLATIONS_DIR
// load translation for Qt-widgets/-dialogs // load translation for Qt-widgets/-dialogs
loadTranslation( QString( "qt_" ) + pos, loadTranslation( QString( "qt_" ) + pos,
QString( QT_TRANSLATIONS_DIR ) ); QString( QT_TRANSLATIONS_DIR ) );
#endif #endif
// load actual translation for LMMS // load actual translation for LMMS
loadTranslation( pos ); loadTranslation( pos );
// try to set realtime priority // try to set realtime priority
#ifdef LMMS_BUILD_LINUX #if defined(LMMS_BUILD_LINUX) || defined(LMMS_BUILD_FREEBSD)
#ifdef LMMS_HAVE_SCHED_H #ifdef LMMS_HAVE_SCHED_H
#ifndef __OpenBSD__ #ifndef __OpenBSD__
struct sched_param sparam; struct sched_param sparam;
sparam.sched_priority = ( sched_get_priority_max( SCHED_FIFO ) + sparam.sched_priority = ( sched_get_priority_max( SCHED_FIFO ) +
sched_get_priority_min( SCHED_FIFO ) ) / 2; sched_get_priority_min( SCHED_FIFO ) ) / 2;
if( sched_setscheduler( 0, SCHED_FIFO, &sparam ) == -1 ) if( sched_setscheduler( 0, SCHED_FIFO, &sparam ) == -1 )
{ {
printf( "Notice: could not set realtime priority.\n" ); printf( "Notice: could not set realtime priority.\n" );
} }
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)