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 |
}; |
}; |
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 |
}; |
}; |