OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, 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 12 matching lines...) Expand all Loading... |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 | 26 |
27 #if ENABLE(WEB_AUDIO) | 27 #if ENABLE(WEB_AUDIO) |
28 | 28 |
29 #include "modules/webaudio/MediaStreamAudioDestinationNode.h" | 29 #include "modules/webaudio/MediaStreamAudioDestinationNode.h" |
30 | 30 |
31 #include "core/platform/mediastream/MediaStreamCenter.h" | 31 #include "core/platform/mediastream/MediaStreamCenter.h" |
32 #include "core/platform/mediastream/RTCPeerConnectionHandler.h" | 32 #include "core/platform/mediastream/RTCPeerConnectionHandler.h" |
33 #include "modules/mediastream/MediaStream.h" | |
34 #include "modules/webaudio/AudioContext.h" | 33 #include "modules/webaudio/AudioContext.h" |
35 #include "modules/webaudio/AudioNodeInput.h" | 34 #include "modules/webaudio/AudioNodeInput.h" |
36 #include "platform/UUID.h" | 35 #include "platform/UUID.h" |
37 #include "wtf/Locker.h" | 36 #include "wtf/Locker.h" |
38 | 37 |
39 namespace WebCore { | 38 namespace WebCore { |
40 | 39 |
41 PassRefPtr<MediaStreamAudioDestinationNode> MediaStreamAudioDestinationNode::cre
ate(AudioContext* context, size_t numberOfChannels) | 40 PassRefPtr<MediaStreamAudioDestinationNode> MediaStreamAudioDestinationNode::cre
ate(AudioContext* context, size_t numberOfChannels) |
42 { | 41 { |
43 return adoptRef(new MediaStreamAudioDestinationNode(context, numberOfChannel
s)); | 42 return adoptRef(new MediaStreamAudioDestinationNode(context, numberOfChannel
s)); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 m_source->consumeAudio(m_mixBus.get(), numberOfFrames); | 77 m_source->consumeAudio(m_mixBus.get(), numberOfFrames); |
79 } | 78 } |
80 | 79 |
81 void MediaStreamAudioDestinationNode::reset() | 80 void MediaStreamAudioDestinationNode::reset() |
82 { | 81 { |
83 } | 82 } |
84 | 83 |
85 } // namespace WebCore | 84 } // namespace WebCore |
86 | 85 |
87 #endif // ENABLE(WEB_AUDIO) | 86 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |