diff --git a/src/custom_sfml_audio/synced_sound_streams.cpp b/src/custom_sfml_audio/synced_sound_streams.cpp index 7dbcb69..cfe46aa 100644 --- a/src/custom_sfml_audio/synced_sound_streams.cpp +++ b/src/custom_sfml_audio/synced_sound_streams.cpp @@ -266,12 +266,7 @@ sf::Time SyncedSoundStreams::getPrecisePlayingOffset() const { const auto correction = ( s.stream->alSecOffsetLatencySoft()[1] - s.stream->lag ); - if (s.reconstruct_on_pitch_change) { - return base - (correction * pitch); - } else { - return base - correction; - } - + return base - (correction * pitch); } void SyncedSoundStreams::setPitch(float new_pitch) {