From da589fc981bb7adac61434258478ed94e1a532db Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 19 Apr 2015 16:32:43 +0200 Subject: [PATCH] Set as RT safe; Update copyright dates --- plugins/Nekobi/DistrhoPluginInfo.h | 3 ++- plugins/Nekobi/DistrhoPluginNekobi.cpp | 7 +------ plugins/Nekobi/DistrhoPluginNekobi.hpp | 2 +- plugins/Nekobi/DistrhoUINekobi.cpp | 2 +- plugins/Nekobi/DistrhoUINekobi.hpp | 2 +- plugins/Nekobi/NekoWidget.hpp | 2 +- 6 files changed, 7 insertions(+), 11 deletions(-) diff --git a/plugins/Nekobi/DistrhoPluginInfo.h b/plugins/Nekobi/DistrhoPluginInfo.h index 953370e..1831a58 100644 --- a/plugins/Nekobi/DistrhoPluginInfo.h +++ b/plugins/Nekobi/DistrhoPluginInfo.h @@ -1,6 +1,6 @@ /* * DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others. - * Copyright (C) 2013-2014 Filipe Coelho + * Copyright (C) 2013-2015 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -26,6 +26,7 @@ #define DISTRHO_PLUGIN_NUM_INPUTS 0 #define DISTRHO_PLUGIN_NUM_OUTPUTS 1 +#define DISTRHO_PLUGIN_IS_RT_SAFE 1 #define DISTRHO_PLUGIN_WANT_LATENCY 0 #define DISTRHO_PLUGIN_WANT_PROGRAMS 0 #define DISTRHO_PLUGIN_WANT_STATE 0 diff --git a/plugins/Nekobi/DistrhoPluginNekobi.cpp b/plugins/Nekobi/DistrhoPluginNekobi.cpp index c005bee..ea130d3 100644 --- a/plugins/Nekobi/DistrhoPluginNekobi.cpp +++ b/plugins/Nekobi/DistrhoPluginNekobi.cpp @@ -1,7 +1,7 @@ /* * DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others. * Copyright (C) 2004 Sean Bolton and others - * Copyright (C) 2013-2014 Filipe Coelho + * Copyright (C) 2013-2015 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -47,11 +47,6 @@ bool dssp_voicelist_mutex_trylock(nekobee_synth_t* const synth) return true; } -bool dssp_voicelist_mutex_lock(nekobee_synth_t* const synth) -{ - return (pthread_mutex_lock(&synth->voicelist_mutex) == 0); -} - bool dssp_voicelist_mutex_unlock(nekobee_synth_t* const synth) { return (pthread_mutex_unlock(&synth->voicelist_mutex) == 0); diff --git a/plugins/Nekobi/DistrhoPluginNekobi.hpp b/plugins/Nekobi/DistrhoPluginNekobi.hpp index b7b765c..b839034 100644 --- a/plugins/Nekobi/DistrhoPluginNekobi.hpp +++ b/plugins/Nekobi/DistrhoPluginNekobi.hpp @@ -1,7 +1,7 @@ /* * DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others. * Copyright (C) 2004 Sean Bolton and others - * Copyright (C) 2013-2014 Filipe Coelho + * Copyright (C) 2013-2015 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/plugins/Nekobi/DistrhoUINekobi.cpp b/plugins/Nekobi/DistrhoUINekobi.cpp index 71f7b16..4e428bb 100644 --- a/plugins/Nekobi/DistrhoUINekobi.cpp +++ b/plugins/Nekobi/DistrhoUINekobi.cpp @@ -1,6 +1,6 @@ /* * DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others. - * Copyright (C) 2013-2014 Filipe Coelho + * Copyright (C) 2013-2015 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/plugins/Nekobi/DistrhoUINekobi.hpp b/plugins/Nekobi/DistrhoUINekobi.hpp index ab29a29..6804a6b 100644 --- a/plugins/Nekobi/DistrhoUINekobi.hpp +++ b/plugins/Nekobi/DistrhoUINekobi.hpp @@ -1,6 +1,6 @@ /* * DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others. - * Copyright (C) 2013-2014 Filipe Coelho + * Copyright (C) 2013-2015 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/plugins/Nekobi/NekoWidget.hpp b/plugins/Nekobi/NekoWidget.hpp index a4c08fd..0bba0cd 100644 --- a/plugins/Nekobi/NekoWidget.hpp +++ b/plugins/Nekobi/NekoWidget.hpp @@ -1,6 +1,6 @@ /* * Neko widget animation - * Copyright (C) 2013-2014 Filipe Coelho + * Copyright (C) 2013-2015 Filipe Coelho * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as