From 4ec030b518a3ac59f13343a8a0aad0cca53a5ff8 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Fri, 10 Apr 2009 00:04:09 +0200 Subject: [PATCH] RemoteVstPlugin: removed obsolete warning Removed obsolete warning about setting realtime. It's neither important nor will calling printf()/fprintf() in a RemotePlugin print anything in LMMS' console output. (cherry picked from commit 337afffbf186977638a10cd45230fee9ce8106d2) --- plugins/vst_base/remote_vst_plugin.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/vst_base/remote_vst_plugin.cpp b/plugins/vst_base/remote_vst_plugin.cpp index 5f34e7288..2860ca433 100644 --- a/plugins/vst_base/remote_vst_plugin.cpp +++ b/plugins/vst_base/remote_vst_plugin.cpp @@ -1296,11 +1296,7 @@ int main( int _argc, char * * _argv ) struct sched_param sparam; sparam.sched_priority = ( sched_get_priority_max( SCHED_FIFO ) + sched_get_priority_min( SCHED_FIFO ) ) / 2; - if( sched_setscheduler( 0, SCHED_FIFO, &sparam ) == -1 ) - { - fprintf( stderr, "could not set realtime priority for " - "remoteVstPlugin\n" ); - } + sched_setscheduler( 0, SCHED_FIFO, &sparam ); #endif #endif