| 715 | { |
| 716 | ContextRef context{GetContextRef()}; |
| 717 | if LIKELY(context) |
| 718 | { |
| 719 | ALCdevice *device{context->mDevice.get()}; |
| 720 | std::lock_guard<std::mutex> _{device->BufferLock}; |
| 721 | if(!buffer || LookupBuffer(device, buffer)) |
| 722 | return AL_TRUE; |
| 723 | } |
| 724 | return AL_FALSE; |
| 725 | } |
| 726 | END_API_FUNC |
no test coverage detected