| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 PassRefPtr<WaveShaperNode> createWaveShaper(); | 112 PassRefPtr<WaveShaperNode> createWaveShaper(); |
| 113 PassRefPtr<DelayNode> createDelayNode(); | 113 PassRefPtr<DelayNode> createDelayNode(); |
| 114 PassRefPtr<LowPass2FilterNode> createLowPass2Filter(); | 114 PassRefPtr<LowPass2FilterNode> createLowPass2Filter(); |
| 115 PassRefPtr<HighPass2FilterNode> createHighPass2Filter(); | 115 PassRefPtr<HighPass2FilterNode> createHighPass2Filter(); |
| 116 PassRefPtr<AudioPannerNode> createPanner(); | 116 PassRefPtr<AudioPannerNode> createPanner(); |
| 117 PassRefPtr<ConvolverNode> createConvolver(); | 117 PassRefPtr<ConvolverNode> createConvolver(); |
| 118 PassRefPtr<DynamicsCompressorNode> createDynamicsCompressor(); | 118 PassRefPtr<DynamicsCompressorNode> createDynamicsCompressor(); |
| 119 PassRefPtr<RealtimeAnalyserNode> createAnalyser(); | 119 PassRefPtr<RealtimeAnalyserNode> createAnalyser(); |
| 120 PassRefPtr<JavaScriptAudioNode> createJavaScriptNode(size_t bufferSize); | 120 PassRefPtr<JavaScriptAudioNode> createJavaScriptNode(size_t bufferSize); |
| 121 PassRefPtr<AudioChannelSplitter> createChannelSplitter(); | 121 PassRefPtr<AudioChannelSplitter> createChannelSplitter(); |
| 122 PassRefPtr<AudioChannelMerger> createChannelMerger(); | |
| 123 | 122 |
| 124 AudioBus* temporaryMonoBus() { return m_temporaryMonoBus.get(); } | 123 AudioBus* temporaryMonoBus() { return m_temporaryMonoBus.get(); } |
| 125 AudioBus* temporaryStereoBus() { return m_temporaryStereoBus.get(); } | 124 AudioBus* temporaryStereoBus() { return m_temporaryStereoBus.get(); } |
| 126 | 125 |
| 127 // When a source node has no more processing to do (has finished playing), t
hen it tells the context to dereference it. | 126 // When a source node has no more processing to do (has finished playing), t
hen it tells the context to dereference it. |
| 128 void notifyNodeFinishedProcessing(AudioNode*); | 127 void notifyNodeFinishedProcessing(AudioNode*); |
| 129 | 128 |
| 130 // Called at the start of each render quantum. | 129 // Called at the start of each render quantum. |
| 131 void handlePreRenderTasks(); | 130 void handlePreRenderTasks(); |
| 132 | 131 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 RefPtr<AudioBuffer> m_renderTarget; | 305 RefPtr<AudioBuffer> m_renderTarget; |
| 307 | 306 |
| 308 bool m_isOfflineContext; | 307 bool m_isOfflineContext; |
| 309 | 308 |
| 310 AsyncAudioDecoder m_audioDecoder; | 309 AsyncAudioDecoder m_audioDecoder; |
| 311 }; | 310 }; |
| 312 | 311 |
| 313 } // WebCore | 312 } // WebCore |
| 314 | 313 |
| 315 #endif // AudioContext_h | 314 #endif // AudioContext_h |
| OLD | NEW |