| 224 | } |
| 225 | |
| 226 | void ThreadedSoundDataBridge::SetPosition(wrapper_sound_handle wsh, const vec3& position) { |
| 227 | mutex.lock(); |
| 228 | if (data_copy_map.find(wsh) != data_copy_map.end()) { |
| 229 | data_copy_map[wsh].position = position; |
| 230 | } |
| 231 | mutex.unlock(); |
| 232 | } |
| 233 | |
| 234 | void ThreadedSoundDataBridge::RemoveHandle(wrapper_sound_handle _wsh) { |
| 235 | mutex.lock(); |