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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 | 221 |
222 #if !ENABLE(OILPAN) | 222 #if !ENABLE(OILPAN) |
223 // Ref-counting | 223 // Ref-counting |
224 volatile int m_normalRefCount; | 224 volatile int m_normalRefCount; |
225 #endif | 225 #endif |
226 volatile int m_connectionRefCount; | 226 volatile int m_connectionRefCount; |
227 | 227 |
228 bool m_isMarkedForDeletion; | 228 bool m_isMarkedForDeletion; |
229 bool m_isDisabled; | 229 bool m_isDisabled; |
230 | 230 |
| 231 #if ENABLE(ASSERT) |
| 232 bool m_didCallDispose; |
| 233 #endif |
| 234 |
231 #if DEBUG_AUDIONODE_REFERENCES | 235 #if DEBUG_AUDIONODE_REFERENCES |
232 static bool s_isNodeCountInitialized; | 236 static bool s_isNodeCountInitialized; |
233 static int s_nodeCount[NodeTypeEnd]; | 237 static int s_nodeCount[NodeTypeEnd]; |
234 #endif | 238 #endif |
235 static unsigned s_instanceCount; | 239 static unsigned s_instanceCount; |
236 | 240 |
237 #if !ENABLE(OILPAN) | 241 #if !ENABLE(OILPAN) |
238 virtual void refEventTarget() OVERRIDE FINAL { ref(); } | 242 virtual void refEventTarget() OVERRIDE FINAL { ref(); } |
239 virtual void derefEventTarget() OVERRIDE FINAL { deref(); } | 243 virtual void derefEventTarget() OVERRIDE FINAL { deref(); } |
240 #endif | 244 #endif |
241 | 245 |
242 protected: | 246 protected: |
243 unsigned m_channelCount; | 247 unsigned m_channelCount; |
244 ChannelCountMode m_channelCountMode; | 248 ChannelCountMode m_channelCountMode; |
245 AudioBus::ChannelInterpretation m_channelInterpretation; | 249 AudioBus::ChannelInterpretation m_channelInterpretation; |
246 }; | 250 }; |
247 | 251 |
248 } // namespace blink | 252 } // namespace blink |
249 | 253 |
250 #endif // AudioNode_h | 254 #endif // AudioNode_h |
OLD | NEW |