| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 // m_internalBus and m_inPlaceBus must only be changed in the audio thread w
ith the context's graph lock (or constructor). | 131 // m_internalBus and m_inPlaceBus must only be changed in the audio thread w
ith the context's graph lock (or constructor). |
| 132 RefPtr<AudioBus> m_internalBus; | 132 RefPtr<AudioBus> m_internalBus; |
| 133 RefPtr<AudioBus> m_inPlaceBus; | 133 RefPtr<AudioBus> m_inPlaceBus; |
| 134 // If m_isInPlace is true, use m_inPlaceBus as the valid AudioBus; If false,
use the default m_internalBus. | 134 // If m_isInPlace is true, use m_inPlaceBus as the valid AudioBus; If false,
use the default m_internalBus. |
| 135 bool m_isInPlace; | 135 bool m_isInPlace; |
| 136 | 136 |
| 137 // Oilpan: This HashMap holds connection references. We must call | 137 // Oilpan: This HashMap holds connection references. We must call |
| 138 // AudioNode::makeConnection when we add an AudioNode to this, and must call | 138 // AudioNode::makeConnection when we add an AudioNode to this, and must call |
| 139 // AudioNode::breakConnection() when we remove an AudioNode from this. | 139 // AudioNode::breakConnection() when we remove an AudioNode from this. |
| 140 HeapHashMap<Member<AudioNodeInput>, Member<AudioNode> > m_inputs; | 140 HeapHashMap<Member<AudioNodeInput>, Member<AudioNode>> m_inputs; |
| 141 typedef HeapHashMap<Member<AudioNodeInput>, Member<AudioNode> >::iterator In
putsIterator; | 141 typedef HeapHashMap<Member<AudioNodeInput>, Member<AudioNode>>::iterator Inp
utsIterator; |
| 142 bool m_isEnabled; | 142 bool m_isEnabled; |
| 143 | 143 |
| 144 #if ENABLE_ASSERT | 144 #if ENABLE_ASSERT |
| 145 bool m_didCallDispose; | 145 bool m_didCallDispose; |
| 146 #endif | 146 #endif |
| 147 | 147 |
| 148 // For the purposes of rendering, keeps track of the number of inputs and Au
dioParams we're connected to. | 148 // For the purposes of rendering, keeps track of the number of inputs and Au
dioParams we're connected to. |
| 149 // These value should only be changed at the very start or end of the render
ing quantum. | 149 // These value should only be changed at the very start or end of the render
ing quantum. |
| 150 unsigned m_renderingFanOutCount; | 150 unsigned m_renderingFanOutCount; |
| 151 unsigned m_renderingParamFanOutCount; | 151 unsigned m_renderingParamFanOutCount; |
| 152 | 152 |
| 153 HeapHashSet<Member<AudioParam> > m_params; | 153 HeapHashSet<Member<AudioParam>> m_params; |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 } // namespace blink | 156 } // namespace blink |
| 157 | 157 |
| 158 #endif // AudioNodeOutput_h | 158 #endif // AudioNodeOutput_h |
| OLD | NEW |