#include "third_party/blink/renderer/modules/webaudio/audio_listener_handler.h"
#include "third_party/blink/renderer/modules/webaudio/panner_handler.h"
#include "third_party/blink/renderer/platform/audio/hrtf_database_loader.h"
namespace blink {
scoped_refptr<AudioListenerHandler> AudioListenerHandler::Create(
AudioParamHandler& position_x_handler,
AudioParamHandler& position_y_handler,
AudioParamHandler& position_z_handler,
AudioParamHandler& forward_x_handler,
AudioParamHandler& forward_y_handler,
AudioParamHandler& forward_z_handler,
AudioParamHandler& up_x_handler,
AudioParamHandler& up_y_handler,
AudioParamHandler& up_z_handler,
unsigned int render_quantum_frames) { … }
AudioListenerHandler::AudioListenerHandler(
AudioParamHandler& position_x_handler,
AudioParamHandler& position_y_handler,
AudioParamHandler& position_z_handler,
AudioParamHandler& forward_x_handler,
AudioParamHandler& forward_y_handler,
AudioParamHandler& forward_z_handler,
AudioParamHandler& up_x_handler,
AudioParamHandler& up_y_handler,
AudioParamHandler& up_z_handler,
unsigned int render_quantum_frames)
: … { … }
AudioListenerHandler::~AudioListenerHandler() { … }
const float* AudioListenerHandler::GetPositionXValues(
uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetPositionYValues(
uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetPositionZValues(
uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetForwardXValues(
uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetForwardYValues(
uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetForwardZValues(
uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetUpXValues(uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetUpYValues(uint32_t frames_to_process) { … }
const float* AudioListenerHandler::GetUpZValues(uint32_t frames_to_process) { … }
bool AudioListenerHandler::HasSampleAccurateValues() const { … }
bool AudioListenerHandler::IsAudioRate() const { … }
void AudioListenerHandler::AddPannerHandler(PannerHandler& panner_handler) { … }
void AudioListenerHandler::RemovePannerHandler(PannerHandler& panner_handler) { … }
void AudioListenerHandler::MarkPannersAsDirty(unsigned panning_change_type) { … }
void AudioListenerHandler::UpdateState() { … }
void AudioListenerHandler::CreateAndLoadHRTFDatabaseLoader(float sample_rate) { … }
void AudioListenerHandler::WaitForHRTFDatabaseLoaderThreadCompletion() { … }
HRTFDatabaseLoader* AudioListenerHandler::HrtfDatabaseLoader() { … }
void AudioListenerHandler::UpdateValuesIfNeeded(uint32_t frames_to_process) { … }
}