Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: Source/platform/audio/HRTFKernel.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/audio/HRTFElevation.cpp ('k') | Source/platform/audio/HRTFKernel.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 19 matching lines...) Expand all
30 #define HRTFKernel_h 30 #define HRTFKernel_h
31 31
32 #include "platform/audio/FFTFrame.h" 32 #include "platform/audio/FFTFrame.h"
33 #include "wtf/OwnPtr.h" 33 #include "wtf/OwnPtr.h"
34 #include "wtf/PassOwnPtr.h" 34 #include "wtf/PassOwnPtr.h"
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 #include "wtf/RefPtr.h" 37 #include "wtf/RefPtr.h"
38 #include "wtf/Vector.h" 38 #include "wtf/Vector.h"
39 39
40 namespace WebCore { 40 namespace blink {
41 41
42 class AudioChannel; 42 class AudioChannel;
43 43
44 // HRTF stands for Head-Related Transfer Function. 44 // HRTF stands for Head-Related Transfer Function.
45 // HRTFKernel is a frequency-domain representation of an impulse-response used a s part of the spatialized panning system. 45 // HRTFKernel is a frequency-domain representation of an impulse-response used a s part of the spatialized panning system.
46 // For a given azimuth / elevation angle there will be one HRTFKernel for the le ft ear transfer function, and one for the right ear. 46 // For a given azimuth / elevation angle there will be one HRTFKernel for the le ft ear transfer function, and one for the right ear.
47 // The leading delay (average group delay) for each impulse response is extracte d: 47 // The leading delay (average group delay) for each impulse response is extracte d:
48 // m_fftFrame is the frequency-domain representation of the impulse respons e with the delay removed 48 // m_fftFrame is the frequency-domain representation of the impulse respons e with the delay removed
49 // m_frameDelay is the leading delay of the original impulse response. 49 // m_frameDelay is the leading delay of the original impulse response.
50 class PLATFORM_EXPORT HRTFKernel : public RefCounted<HRTFKernel> { 50 class PLATFORM_EXPORT HRTFKernel : public RefCounted<HRTFKernel> {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 { 86 {
87 } 87 }
88 88
89 OwnPtr<FFTFrame> m_fftFrame; 89 OwnPtr<FFTFrame> m_fftFrame;
90 float m_frameDelay; 90 float m_frameDelay;
91 float m_sampleRate; 91 float m_sampleRate;
92 }; 92 };
93 93
94 typedef Vector<RefPtr<HRTFKernel> > HRTFKernelList; 94 typedef Vector<RefPtr<HRTFKernel> > HRTFKernelList;
95 95
96 } // namespace WebCore 96 } // namespace blink
97 97
98 #endif // HRTFKernel_h 98 #endif // HRTFKernel_h
OLDNEW
« no previous file with comments | « Source/platform/audio/HRTFElevation.cpp ('k') | Source/platform/audio/HRTFKernel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698