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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 FloatPoint3D m_orientation; | 101 FloatPoint3D m_orientation; |
102 FloatPoint3D m_upVector; | 102 FloatPoint3D m_upVector; |
103 FloatPoint3D m_velocity; | 103 FloatPoint3D m_velocity; |
104 double m_dopplerFactor; | 104 double m_dopplerFactor; |
105 double m_speedOfSound; | 105 double m_speedOfSound; |
106 | 106 |
107 // Synchronize a panner's process() with setting of the state of the listene
r. | 107 // Synchronize a panner's process() with setting of the state of the listene
r. |
108 mutable Mutex m_listenerLock; | 108 mutable Mutex m_listenerLock; |
109 // List for pannerNodes in context. This is updated only in the main thread, | 109 // List for pannerNodes in context. This is updated only in the main thread, |
110 // and can be referred in audio thread. | 110 // and can be referred in audio thread. |
111 HeapVector<Member<PannerNode> > m_panners; | 111 HeapVector<Member<PannerNode>> m_panners; |
112 // HRTF DB loader for panner node. | 112 // HRTF DB loader for panner node. |
113 Member<HRTFDatabaseLoader> m_hrtfDatabaseLoader; | 113 Member<HRTFDatabaseLoader> m_hrtfDatabaseLoader; |
114 }; | 114 }; |
115 | 115 |
116 } // namespace blink | 116 } // namespace blink |
117 | 117 |
118 #endif // AudioListener_h | 118 #endif // AudioListener_h |
OLD | NEW |