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

Diff of /linuxsampler/trunk/src/engines/common/DiskThreadBase.h

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

revision 2276 by schoenebeck, Tue Oct 5 10:35:13 2010 UTC revision 2277 by persson, Sat Oct 1 08:23:02 2011 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 - 2009 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *
7   *   Copyright (C) 2009 Grigor Iliev                                       *   *   Copyright (C) 2009 - 2011 Christian Schoenebeck and Grigor Iliev      *
8   *                                                                         *   *                                                                         *
9   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
10   *   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 67  namespace LinuxSampler { Line 67  namespace LinuxSampler {
67                  bool              bNotify;                  bool              bNotify;
68              };              };
69              struct program_change_command_t {              struct program_change_command_t {
70                  uint8_t Program;                  uint32_t Program;
71                  EngineChannel* pEngineChannel;                  EngineChannel* pEngineChannel;
72              };              };
73              // Attributes              // Attributes
# Line 382  namespace LinuxSampler { Line 382  namespace LinuxSampler {
382               * Tell the disk thread to do a program change on the specified               * Tell the disk thread to do a program change on the specified
383               * EngineChannel.               * EngineChannel.
384               */               */
385              int OrderProgramChange(uint8_t Program, EngineChannel* pEngineChannel) {              int OrderProgramChange(uint32_t Program, EngineChannel* pEngineChannel) {
386                  program_change_command_t cmd;                  program_change_command_t cmd;
387                  cmd.Program = Program;                  cmd.Program = Program;
388                  cmd.pEngineChannel = pEngineChannel;                  cmd.pEngineChannel = pEngineChannel;

Legend:
Removed from v.2276  
changed lines
  Added in v.2277

  ViewVC Help
Powered by ViewVC