/[svn]/linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceFactory.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceFactory.h

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

revision 276 by schoenebeck, Tue Jul 13 22:04:16 2004 UTC revision 277 by schoenebeck, Sat Oct 9 15:48:32 2004 UTC
# Line 56  namespace LinuxSampler { Line 56  namespace LinuxSampler {
56            class InnerFactoryRegistrator {            class InnerFactoryRegistrator {
57                public:                public:
58                    InnerFactoryRegistrator() {                    InnerFactoryRegistrator() {
59                        AudioOutputDeviceFactory::InnerFactories[Driver_T::Name()] = new InnerFactoryTemplate<Driver_T>;                        AudioOutputDeviceFactory::InnerFactories[Driver_T::Name()] = new AudioOutputDeviceFactory::InnerFactoryTemplate<Driver_T>;
60                        AudioOutputDeviceFactory::ParameterFactories[Driver_T::Name()] = new DeviceParameterFactory();                        AudioOutputDeviceFactory::ParameterFactories[Driver_T::Name()] = new DeviceParameterFactory();
61                    }                    }
62            };            };
# Line 77  namespace LinuxSampler { Line 77  namespace LinuxSampler {
77            static String                                    GetDriverDescription(String DriverName) throw (LinuxSamplerException);            static String                                    GetDriverDescription(String DriverName) throw (LinuxSamplerException);
78            static String                                    GetDriverVersion(String DriverName) throw (LinuxSamplerException);            static String                                    GetDriverVersion(String DriverName) throw (LinuxSamplerException);
79    
80        protected:  //      protected: /* FIXME: fields below should be protected, causes errors on gcc 2.95 though */
81            static std::map<String, InnerFactory*> InnerFactories;            static std::map<String, InnerFactory*> InnerFactories;
82            static std::map<String, DeviceParameterFactory*> ParameterFactories;            static std::map<String, DeviceParameterFactory*> ParameterFactories;
83    };    };

Legend:
Removed from v.276  
changed lines
  Added in v.277

  ViewVC Help
Powered by ViewVC