#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/audio/delay.h"
#include <xmmintrin.h>
namespace blink {
ALWAYS_INLINE static __m128i WrapIndexVector(__m128i v_write_index,
__m128i v_buffer_length) { … }
ALWAYS_INLINE static __m128 WrapPositionVector(__m128 v_position,
__m128 v_buffer_length) { … }
std::tuple<unsigned, int> Delay::ProcessARateVector(
float* destination,
uint32_t frames_to_process) const { … }
void Delay::HandleNaN(float* delay_times,
uint32_t frames_to_process,
float max_time) { … }
}