| OLD | NEW |
| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #ifndef HRTFElevation_h | 29 #ifndef HRTFElevation_h |
| 30 #define HRTFElevation_h | 30 #define HRTFElevation_h |
| 31 | 31 |
| 32 #include "platform/audio/HRTFKernel.h" | 32 #include "platform/audio/HRTFKernel.h" |
| 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" | |
| 39 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 40 #include "wtf/text/CString.h" | 39 #include "wtf/text/CString.h" |
| 41 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
| 42 | 41 |
| 43 namespace blink { | 42 namespace blink { |
| 44 | 43 |
| 45 // HRTFElevation contains all of the HRTFKernels (one left ear and one right ear
per azimuth angle) for a particular elevation. | 44 // HRTFElevation contains all of the HRTFKernels (one left ear and one right ear
per azimuth angle) for a particular elevation. |
| 46 | 45 |
| 47 class PLATFORM_EXPORT HRTFElevation { | 46 class PLATFORM_EXPORT HRTFElevation { |
| 48 USING_FAST_MALLOC(HRTFElevation); | 47 USING_FAST_MALLOC(HRTFElevation); |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 97 |
| 99 OwnPtr<HRTFKernelList> m_kernelListL; | 98 OwnPtr<HRTFKernelList> m_kernelListL; |
| 100 OwnPtr<HRTFKernelList> m_kernelListR; | 99 OwnPtr<HRTFKernelList> m_kernelListR; |
| 101 double m_elevationAngle; | 100 double m_elevationAngle; |
| 102 float m_sampleRate; | 101 float m_sampleRate; |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 } // namespace blink | 104 } // namespace blink |
| 106 | 105 |
| 107 #endif // HRTFElevation_h | 106 #endif // HRTFElevation_h |
| OLD | NEW |