HomeSort by relevance Sort by last modified time
    Searched defs:HRTFKernel (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/WebCore/platform/audio/
HRTFKernel.cpp 33 #include "HRTFKernel.h"
68 HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, double sampleRate, bool bassBoost)
106 PassOwnPtr<AudioChannel> HRTFKernel::createImpulseResponse()
119 PassRefPtr<HRTFKernel> HRTFKernel::createInterpolatedKernel(HRTFKernel* kernel1, HRTFKernel* kernel2, double x)
137 return HRTFKernel::create(interpolatedFrame.release(), frameDelay, sampleRate1);
HRTFKernel.h 45 // HRTFKernel is a frequency-domain representation of an impulse-response used as part of the spatialized panning system.
46 // For a given azimuth / elevation angle there will be one HRTFKernel for the left ear transfer function, and one for the right ear.
50 class HRTFKernel : public RefCounted<HRTFKernel> {
54 static PassRefPtr<HRTFKernel> create(AudioChannel* channel, size_t fftSize, double sampleRate, bool bassBoost)
56 return adoptRef(new HRTFKernel(channel, fftSize, sampleRate, bassBoost));
59 static PassRefPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, double frameDelay, double sampleRate)
61 return adoptRef(new HRTFKernel(fftFrame, frameDelay, sampleRate));
64 // Given two HRTFKernels, and an interpolation factor x: 0 -> 1, returns an interpolated HRTFKernel.
65 static PassRefPtr<HRTFKernel> createInterpolatedKernel(HRTFKernel* kernel1, HRTFKernel* kernel2, double x)
    [all...]

Completed in 868 milliseconds