| 90 | } |
| 91 | |
| 92 | void AudioBufferPlayerForSplitscreen::updatePosition() |
| 93 | { |
| 94 | if (state_ != PlayerState::Playing || GetFlags(PlayerFlags::SourceRelative) || GetFlags(PlayerFlags::As2D)) { |
| 95 | return; |
| 96 | } |
| 97 | |
| 98 | IAudioDevice& device = theServiceLocator().GetAudioDevice(); |
| 99 | setPositionInternal(getAdjustedPosition(device, position_, false, false)); |
| 100 | } |
| 101 | |
| 102 | void AudioBufferPlayerForSplitscreen::updateViewports(ArrayView<std::unique_ptr<Rendering::PlayerViewport>> viewports) |
| 103 | { |