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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 FloatPoint3D m_velocity; | 145 FloatPoint3D m_velocity; |
146 | 146 |
147 // Gain | 147 // Gain |
148 RefPtr<AudioGain> m_distanceGain; | 148 RefPtr<AudioGain> m_distanceGain; |
149 RefPtr<AudioGain> m_coneGain; | 149 RefPtr<AudioGain> m_coneGain; |
150 DistanceEffect m_distanceEffect; | 150 DistanceEffect m_distanceEffect; |
151 ConeEffect m_coneEffect; | 151 ConeEffect m_coneEffect; |
152 float m_lastGain; | 152 float m_lastGain; |
153 | 153 |
154 unsigned m_connectionCount; | 154 unsigned m_connectionCount; |
| 155 |
| 156 // Synchronize process() and setPanningModel() which can change the panner. |
| 157 mutable Mutex m_pannerLock; |
155 }; | 158 }; |
156 | 159 |
157 } // namespace WebCore | 160 } // namespace WebCore |
158 | 161 |
159 #endif // PannerNode_h | 162 #endif // PannerNode_h |
OLD | NEW |