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 10 matching lines...) Expand all Loading... |
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 */ | 23 */ |
24 | 24 |
25 #ifndef AudioContext_h | 25 #ifndef AudioContext_h |
26 #define AudioContext_h | 26 #define AudioContext_h |
27 | 27 |
28 #include "bindings/v8/ScriptWrappable.h" | 28 #include "bindings/v8/ScriptWrappable.h" |
29 #include "core/dom/ActiveDOMObject.h" | 29 #include "core/dom/ActiveDOMObject.h" |
30 #include "core/events/EventListener.h" | 30 #include "core/events/EventListener.h" |
31 #include "core/events/EventTarget.h" | 31 #include "modules/EventTargetModules.h" |
32 #include "modules/webaudio/AsyncAudioDecoder.h" | 32 #include "modules/webaudio/AsyncAudioDecoder.h" |
33 #include "modules/webaudio/AudioDestinationNode.h" | 33 #include "modules/webaudio/AudioDestinationNode.h" |
34 #include "platform/audio/AudioBus.h" | 34 #include "platform/audio/AudioBus.h" |
35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
36 #include "wtf/HashSet.h" | 36 #include "wtf/HashSet.h" |
37 #include "wtf/MainThread.h" | 37 #include "wtf/MainThread.h" |
38 #include "wtf/OwnPtr.h" | 38 #include "wtf/OwnPtr.h" |
39 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
40 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 AsyncAudioDecoder m_audioDecoder; | 321 AsyncAudioDecoder m_audioDecoder; |
322 | 322 |
323 // This is considering 32 is large enough for multiple channels audio. | 323 // This is considering 32 is large enough for multiple channels audio. |
324 // It is somewhat arbitrary and could be increased if necessary. | 324 // It is somewhat arbitrary and could be increased if necessary. |
325 enum { MaxNumberOfChannels = 32 }; | 325 enum { MaxNumberOfChannels = 32 }; |
326 }; | 326 }; |
327 | 327 |
328 } // WebCore | 328 } // WebCore |
329 | 329 |
330 #endif // AudioContext_h | 330 #endif // AudioContext_h |
OLD | NEW |