fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] [PATCH] Same expression on both sides of '||'.


From: David Henningsson
Subject: Re: [fluid-dev] [PATCH] Same expression on both sides of '||'.
Date: Thu, 22 Jan 2015 01:50:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0



On 2015-01-21 19:00, Carlos Olmedo Escobar wrote:
wakeup_threads_m replaced with thread_ready_m. Spotted thanks to cppcheck.

Applied now. Thanks!


Signed-off-by: Carlos Olmedo Escobar <address@hidden>
---
  fluidsynth/src/rvoice/fluid_rvoice_mixer.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fluidsynth/src/rvoice/fluid_rvoice_mixer.c 
b/fluidsynth/src/rvoice/fluid_rvoice_mixer.c
index 03a75c7..4672cb8 100644
--- a/fluidsynth/src/rvoice/fluid_rvoice_mixer.c
+++ b/fluidsynth/src/rvoice/fluid_rvoice_mixer.c
@@ -563,7 +563,7 @@ new_fluid_rvoice_mixer(int buf_count, int fx_buf_count, 
fluid_real_t sample_rate
    mixer->thread_ready_m = new_fluid_cond_mutex();
    mixer->wakeup_threads_m = new_fluid_cond_mutex();
    if (!mixer->thread_ready || !mixer->wakeup_threads ||
-      !mixer->wakeup_threads_m || !mixer->wakeup_threads_m) {
+      !mixer->thread_ready_m || !mixer->wakeup_threads_m) {
      delete_fluid_rvoice_mixer(mixer);
      return NULL;
    }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]