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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 FloatPoint3D m_velocity; | 147 FloatPoint3D m_velocity; |
148 | 148 |
149 // Gain | 149 // Gain |
150 RefPtr<AudioGain> m_distanceGain; | 150 RefPtr<AudioGain> m_distanceGain; |
151 RefPtr<AudioGain> m_coneGain; | 151 RefPtr<AudioGain> m_coneGain; |
152 DistanceEffect m_distanceEffect; | 152 DistanceEffect m_distanceEffect; |
153 ConeEffect m_coneEffect; | 153 ConeEffect m_coneEffect; |
154 float m_lastGain; | 154 float m_lastGain; |
155 | 155 |
156 unsigned m_connectionCount; | 156 unsigned m_connectionCount; |
| 157 |
| 158 // Synchronize process() and setPanningModel() which can change the panner. |
| 159 mutable Mutex m_pannerLock; |
157 }; | 160 }; |
158 | 161 |
159 } // namespace WebCore | 162 } // namespace WebCore |
160 | 163 |
161 #endif // PannerNode_h | 164 #endif // PannerNode_h |
OLD | NEW |