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 26 matching lines...) Expand all Loading... |
37 #include "modules/webaudio/DeferredTaskHandler.h" | 37 #include "modules/webaudio/DeferredTaskHandler.h" |
38 #include "platform/audio/AudioBus.h" | 38 #include "platform/audio/AudioBus.h" |
39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
40 #include "wtf/HashSet.h" | 40 #include "wtf/HashSet.h" |
41 #include "wtf/MainThread.h" | 41 #include "wtf/MainThread.h" |
42 #include "wtf/RefPtr.h" | 42 #include "wtf/RefPtr.h" |
43 #include "wtf/Threading.h" | 43 #include "wtf/Threading.h" |
44 #include "wtf/Vector.h" | 44 #include "wtf/Vector.h" |
45 #include "wtf/build_config.h" | 45 #include "wtf/build_config.h" |
46 | 46 |
47 #if ENABLE(WEB_AUDIO) | |
48 | |
49 namespace blink { | 47 namespace blink { |
50 | 48 |
51 class AnalyserNode; | 49 class AnalyserNode; |
52 class AudioBuffer; | 50 class AudioBuffer; |
53 class AudioBufferCallback; | 51 class AudioBufferCallback; |
54 class AudioBufferSourceNode; | 52 class AudioBufferSourceNode; |
55 class AudioListener; | 53 class AudioListener; |
56 class AudioSummingJunction; | 54 class AudioSummingJunction; |
57 class BiquadFilterNode; | 55 class BiquadFilterNode; |
58 class ChannelMergerNode; | 56 class ChannelMergerNode; |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 316 |
319 AsyncAudioDecoder m_audioDecoder; | 317 AsyncAudioDecoder m_audioDecoder; |
320 | 318 |
321 // This is considering 32 is large enough for multiple channels audio. | 319 // This is considering 32 is large enough for multiple channels audio. |
322 // It is somewhat arbitrary and could be increased if necessary. | 320 // It is somewhat arbitrary and could be increased if necessary. |
323 enum { MaxNumberOfChannels = 32 }; | 321 enum { MaxNumberOfChannels = 32 }; |
324 }; | 322 }; |
325 | 323 |
326 } // namespace blink | 324 } // namespace blink |
327 | 325 |
328 #endif // ENABLE(WEB_AUDIO) | |
329 | |
330 #endif // AbstractAudioContext_h | 326 #endif // AbstractAudioContext_h |
OLD | NEW |