| 250 | } |
| 251 | |
| 252 | real_sound_handle ThreadedSoundDataBridge::GetHandle(wrapper_sound_handle wsh) { |
| 253 | real_sound_handle rsh = 0; |
| 254 | mutex.lock(); |
| 255 | if (handle_map.find(wsh) != handle_map.end()) { |
| 256 | rsh = handle_map[wsh]; |
| 257 | } |
| 258 | mutex.unlock(); |
| 259 | return rsh; |
| 260 | } |
| 261 | |
| 262 | bool ThreadedSoundDataBridge::IsHandleValid(wrapper_sound_handle wsh) { |
| 263 | bool out; |
no test coverage detected