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

Side by Side Diff: third_party/WebKit/Source/platform/audio/HRTFElevation.h

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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 22 matching lines...) Expand all
33 #include "wtf/Allocator.h" 33 #include "wtf/Allocator.h"
34 #include "wtf/Noncopyable.h" 34 #include "wtf/Noncopyable.h"
35 #include "wtf/OwnPtr.h" 35 #include "wtf/OwnPtr.h"
36 #include "wtf/PassOwnPtr.h" 36 #include "wtf/PassOwnPtr.h"
37 #include "wtf/PassRefPtr.h" 37 #include "wtf/PassRefPtr.h"
38 #include "wtf/RefCounted.h" 38 #include "wtf/RefCounted.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include "wtf/text/CString.h" 40 #include "wtf/text/CString.h"
41 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
42 42
43 #if ENABLE(WEB_AUDIO)
44
45 namespace blink { 43 namespace blink {
46 44
47 // HRTFElevation contains all of the HRTFKernels (one left ear and one right ear per azimuth angle) for a particular elevation. 45 // HRTFElevation contains all of the HRTFKernels (one left ear and one right ear per azimuth angle) for a particular elevation.
48 46
49 class PLATFORM_EXPORT HRTFElevation { 47 class PLATFORM_EXPORT HRTFElevation {
50 USING_FAST_MALLOC(HRTFElevation); 48 USING_FAST_MALLOC(HRTFElevation);
51 WTF_MAKE_NONCOPYABLE(HRTFElevation); 49 WTF_MAKE_NONCOPYABLE(HRTFElevation);
52 public: 50 public:
53 // Loads and returns an HRTFElevation with the given HRTF database subject n ame and elevation from browser (or WebKit.framework) resources. 51 // Loads and returns an HRTFElevation with the given HRTF database subject n ame and elevation from browser (or WebKit.framework) resources.
54 // Normally, there will only be a single HRTF database set, but this API sup ports the possibility of multiple ones with different names. 52 // Normally, there will only be a single HRTF database set, but this API sup ports the possibility of multiple ones with different names.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 97 }
100 98
101 OwnPtr<HRTFKernelList> m_kernelListL; 99 OwnPtr<HRTFKernelList> m_kernelListL;
102 OwnPtr<HRTFKernelList> m_kernelListR; 100 OwnPtr<HRTFKernelList> m_kernelListR;
103 double m_elevationAngle; 101 double m_elevationAngle;
104 float m_sampleRate; 102 float m_sampleRate;
105 }; 103 };
106 104
107 } // namespace blink 105 } // namespace blink
108 106
109 #endif // ENABLE(WEB_AUDIO)
110
111 #endif // HRTFElevation_h 107 #endif // HRTFElevation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698