/[svn]/linuxsampler/trunk/src/drivers/midi/MidiInputPort.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/midi/MidiInputPort.h

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

revision 947 by schoenebeck, Mon Nov 27 21:34:55 2006 UTC revision 1424 by schoenebeck, Sun Oct 14 22:00:17 2007 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, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005 - 2007 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 68  namespace LinuxSampler { Line 68  namespace LinuxSampler {
68              //     (usually not to be overriden by descendant)              //     (usually not to be overriden by descendant)
69    
70              /**              /**
71               * Connect given sampler engine with this MIDI input device.               * Connect given sampler engine channel with this MIDI input
72               * The engine can either be connected to one specific MIDI               * device. The engine channel can either be connected to one
73               * channel or all MIDI channels. If an engine gets connected               * specific MIDI channel or all MIDI channels. If an engine
74               * twice to this MIDI input device, then the engine's old               * channel gets connected twice to this MIDI input device, then
75               * connection will be detached (no matter on which MIDI channel).               * the engine's old connection will be detached (no matter on
76                 * which MIDI channel).
77               *               *
78               * @param pEngine     - sampler engine               * @param pEngineChannel - sampler engine
79               * @param MidiChannel - MIDI channel to connect to               * @param MidiChannel - MIDI channel to connect to
80               * @throws MidiInputException  if MidiChannel argument invalid               * @throws MidiInputException  if MidiChannel argument invalid
81               */               */
82              void Connect(EngineChannel* pEngineChannel, midi_chan_t MidiChannel);              void Connect(EngineChannel* pEngineChannel, midi_chan_t MidiChannel);
83    
84              /**              /**
85               * Disconnect given sampler engine from this MIDI input device.               * Disconnect given sampler engine channel from this MIDI input
86               * If the given engine was not connected with this device,               * device. If the given engine channel was not connected with
87               * nothing happens.               * this device, nothing happens.
88               *               *
89               * @param pEngine - sampler engine               * @param pEngineChannel - sampler engine
90               */               */
91              void Disconnect(EngineChannel* pEngineChannel);              void Disconnect(EngineChannel* pEngineChannel);
92    

Legend:
Removed from v.947  
changed lines
  Added in v.1424

  ViewVC Help
Powered by ViewVC