| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 m_lastOrientation = orientation(); | 243 m_lastOrientation = orientation(); |
| 244 | 244 |
| 245 AudioHandler::initialize(); | 245 AudioHandler::initialize(); |
| 246 } | 246 } |
| 247 | 247 |
| 248 void PannerHandler::uninitialize() | 248 void PannerHandler::uninitialize() |
| 249 { | 249 { |
| 250 if (!isInitialized()) | 250 if (!isInitialized()) |
| 251 return; | 251 return; |
| 252 | 252 |
| 253 m_panner.clear(); | 253 m_panner.reset(); |
| 254 listener()->removePanner(*this); | 254 listener()->removePanner(*this); |
| 255 | 255 |
| 256 AudioHandler::uninitialize(); | 256 AudioHandler::uninitialize(); |
| 257 } | 257 } |
| 258 | 258 |
| 259 AudioListener* PannerHandler::listener() | 259 AudioListener* PannerHandler::listener() |
| 260 { | 260 { |
| 261 return m_listener; | 261 return m_listener; |
| 262 } | 262 } |
| 263 | 263 |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 visitor->trace(m_positionZ); | 765 visitor->trace(m_positionZ); |
| 766 | 766 |
| 767 visitor->trace(m_orientationX); | 767 visitor->trace(m_orientationX); |
| 768 visitor->trace(m_orientationY); | 768 visitor->trace(m_orientationY); |
| 769 visitor->trace(m_orientationZ); | 769 visitor->trace(m_orientationZ); |
| 770 | 770 |
| 771 AudioNode::trace(visitor); | 771 AudioNode::trace(visitor); |
| 772 } | 772 } |
| 773 | 773 |
| 774 } // namespace blink | 774 } // namespace blink |
| OLD | NEW |