| 255 | } |
| 256 | |
| 257 | int SoundEnvironment_LIB::GetID(LPCSTR name) |
| 258 | { |
| 259 | for (SE_IT it = library.begin(); it != library.end(); ++it) |
| 260 | if (0 == _stricmp(name, *(*it)->name)) |
| 261 | return int(it - library.begin()); |
| 262 | |
| 263 | return -1; |
| 264 | } |
| 265 | |
| 266 | CSoundRender_Environment* SoundEnvironment_LIB::Get(int id) const { return library[id]; } |
| 267 |
no test coverage detected