/[svn]/linuxsampler/trunk/src/common/global_private.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global_private.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1800 by schoenebeck, Sun Dec 7 01:26:46 2008 UTC revision 2473 by schoenebeck, Sun Sep 15 17:55:56 2013 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2013 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 98  int GLOBAL_MAX_VOICES = CONFIG_DEFAULT_M Line 98  int GLOBAL_MAX_VOICES = CONFIG_DEFAULT_M
98  // this is the sampler global setting for maximum disk streams  // this is the sampler global setting for maximum disk streams
99  int GLOBAL_MAX_STREAMS = CONFIG_DEFAULT_MAX_STREAMS;  int GLOBAL_MAX_STREAMS = CONFIG_DEFAULT_MAX_STREAMS;
100    
101    //TODO: (hopefully) just a temporary nasty hack for launching gigedit on the main thread on Mac (see comments in gigedit.cpp for details)
102    #if defined(__APPLE__)
103    bool g_mainThreadCallbackSupported = false;
104    void (*g_mainThreadCallback)(void* info) = 0;
105    void* g_mainThreadCallbackInfo = 0;
106    bool g_fireMainThreadCallback = false;
107    #endif
108    
109  int hexToNumber(char hex_digit) {  int hexToNumber(char hex_digit) {
110      switch (hex_digit) {      switch (hex_digit) {
111          case '0': return 0;          case '0': return 0;

Legend:
Removed from v.1800  
changed lines
  Added in v.2473

  ViewVC Help
Powered by ViewVC