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

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

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

revision 2383 by schoenebeck, Sun Nov 1 18:47:59 2009 UTC revision 2384 by schoenebeck, Fri Dec 14 16:04:49 2012 UTC
# Line 1  Line 1 
1  /*  /*
2      Copyright (C) 2008 - 2009 Christian Schoenebeck      Copyright (C) 2008 - 2012 Christian Schoenebeck
3   */   */
4    
5  #ifndef LS_VIRTUALMIDIDEVICE_H  #ifndef LS_VIRTUALMIDIDEVICE_H
# Line 169  public: Line 169  public:
169       * @returns true on success, false if no event pending       * @returns true on success, false if no event pending
170       */       */
171      bool GetMidiEventFromDevice(event_t& Event);      bool GetMidiEventFromDevice(event_t& Event);
172        
173        /////////////////////////////////////////////////////////////////
174        // General Purpose Methods
175        
176        /**
177         * Adjusts the internal event buffer to cover at least the given
178         * amount of MIDI events. This might be useful, since the internal
179         * event buffer is by default quite small (i.e. just 12 events).
180         *
181         * This method is not thread safe! Any operations upon this device
182         * have to be stopped before calling this method!
183         */
184        void SetMaxEvents(int n);
185    
186      /**      /**
187       * Constructor       * Constructor

Legend:
Removed from v.2383  
changed lines
  Added in v.2384

  ViewVC Help
Powered by ViewVC