67 |
|
|
68 |
void SamplerChannel::SetEngineType(String EngineType) throw (Exception) { |
void SamplerChannel::SetEngineType(String EngineType) throw (Exception) { |
69 |
dmsg(2,("SamplerChannel: Assigning engine type...")); |
dmsg(2,("SamplerChannel: Assigning engine type...")); |
70 |
|
|
71 |
|
if (pEngineChannel) { |
72 |
|
if (!strcasecmp(pEngineChannel->EngineName().c_str(), EngineType.c_str())) { |
73 |
|
dmsg(2,("OK\n")); |
74 |
|
return; |
75 |
|
} |
76 |
|
} |
77 |
|
|
78 |
// create new engine channel |
// create new engine channel |
79 |
EngineChannel* pNewEngineChannel = EngineChannelFactory::Create(EngineType); |
EngineChannel* pNewEngineChannel = EngineChannelFactory::Create(EngineType); |