/[svn]/linuxsampler/trunk/src/engines/InstrumentManagerThread.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/InstrumentManagerThread.h

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

revision 1761 by iliev, Fri Aug 29 15:42:06 2008 UTC revision 2316 by persson, Sat Feb 18 13:51:38 2012 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005 - 2012 Christian Schoenebeck                       *
4   *                                                                         *   *                                                                         *
5   *   This library is free software; you can redistribute it and/or modify  *   *   This library is free software; you can redistribute it and/or modify  *
6   *   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 48  namespace LinuxSampler { Line 48  namespace LinuxSampler {
48              void StartNewLoad(String Filename, uint uiInstrumentIndex, EngineChannel* pEngineChannel);              void StartNewLoad(String Filename, uint uiInstrumentIndex, EngineChannel* pEngineChannel);
49              void StartSettingMode(InstrumentManager* pManager, const InstrumentManager::instrument_id_t& ID, InstrumentManager::mode_t Mode);              void StartSettingMode(InstrumentManager* pManager, const InstrumentManager::instrument_id_t& ID, InstrumentManager::mode_t Mode);
50              virtual ~InstrumentManagerThread();              virtual ~InstrumentManagerThread();
51    #if defined(__APPLE__) || defined(WIN32)
52                int StopThread();
53    #endif
54          protected:          protected:
55              struct command_t {              struct command_t {
56                  enum cmd_type_t {                  enum cmd_type_t {
# Line 56  namespace LinuxSampler { Line 59  namespace LinuxSampler {
59                  } type;                  } type;
60                  EngineChannel*                     pEngineChannel; ///< only for DIRECT_LOAD commands                  EngineChannel*                     pEngineChannel; ///< only for DIRECT_LOAD commands
61                  InstrumentManager*                 pManager;     ///< only for INSTR_MODE commands                  InstrumentManager*                 pManager;     ///< only for INSTR_MODE commands
62                  InstrumentManager::instrument_id_t instrumentId; ///< only for INSTR_MODE commands                  InstrumentManager::instrument_id_t instrumentId; ///< for both DIRECT_LOAD and INSTR_MODE
63                  InstrumentManager::mode_t          mode;         ///< only for INSTR_MODE commands                  InstrumentManager::mode_t          mode;         ///< only for INSTR_MODE commands
64              };              };
65    

Legend:
Removed from v.1761  
changed lines
  Added in v.2316

  ViewVC Help
Powered by ViewVC