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

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

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

revision 1951 by persson, Wed Jul 29 15:31:09 2009 UTC revision 1993 by schoenebeck, Sun Aug 30 11:27:35 2009 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 - 2007 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2009 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 99  namespace LinuxSampler { Line 99  namespace LinuxSampler {
99                      void UnsubscribeAll();                      void UnsubscribeAll();
100              };              };
101    
102                /** MIDI Device Parameter 'NAME'
103                 *
104                 * Used to assign an arbitrary name to the ALSA client of this
105                 * MIDI device.
106                 */
107                class ParameterName : public DeviceCreationParameterString {
108                    public:
109                        ParameterName();
110                        ParameterName(String s);
111                        virtual String              Description();
112                        virtual bool                Fix();
113                        virtual bool                Mandatory();
114                        virtual std::map<String,DeviceCreationParameter*> DependsAsParameters();
115                        virtual std::vector<String> PossibilitiesAsString(std::map<String,String> Parameters);
116                        virtual optional<String>    DefaultAsString(std::map<String,String> Parameters);
117                        virtual void                OnSetValue(String s) throw (Exception);
118                        static String Name();
119                };
120    
121              MidiInputDeviceAlsa(std::map<String,DeviceCreationParameter*> Parameters, void* pSampler);              MidiInputDeviceAlsa(std::map<String,DeviceCreationParameter*> Parameters, void* pSampler);
122              ~MidiInputDeviceAlsa();              ~MidiInputDeviceAlsa();
123    

Legend:
Removed from v.1951  
changed lines
  Added in v.1993

  ViewVC Help
Powered by ViewVC