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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 case NodeTypeMediaStreamAudioDestination: | 119 case NodeTypeMediaStreamAudioDestination: |
120 return "MediaStreamAudioDestinationNode"; | 120 return "MediaStreamAudioDestinationNode"; |
121 case NodeTypeMediaStreamAudioSource: | 121 case NodeTypeMediaStreamAudioSource: |
122 return "MediaStreamAudioSourceNode"; | 122 return "MediaStreamAudioSourceNode"; |
123 case NodeTypeJavaScript: | 123 case NodeTypeJavaScript: |
124 return "ScriptProcessorNode"; | 124 return "ScriptProcessorNode"; |
125 case NodeTypeBiquadFilter: | 125 case NodeTypeBiquadFilter: |
126 return "BiquadFilterNode"; | 126 return "BiquadFilterNode"; |
127 case NodeTypePanner: | 127 case NodeTypePanner: |
128 return "PannerNode"; | 128 return "PannerNode"; |
| 129 case NodeTypeStereoPanner: |
| 130 return "StereoPannerNode"; |
129 case NodeTypeConvolver: | 131 case NodeTypeConvolver: |
130 return "ConvolverNode"; | 132 return "ConvolverNode"; |
131 case NodeTypeDelay: | 133 case NodeTypeDelay: |
132 return "DelayNode"; | 134 return "DelayNode"; |
133 case NodeTypeGain: | 135 case NodeTypeGain: |
134 return "GainNode"; | 136 return "GainNode"; |
135 case NodeTypeChannelSplitter: | 137 case NodeTypeChannelSplitter: |
136 return "ChannelSplitterNode"; | 138 return "ChannelSplitterNode"; |
137 case NodeTypeChannelMerger: | 139 case NodeTypeChannelMerger: |
138 return "ChannelMergerNode"; | 140 return "ChannelMergerNode"; |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 | 570 |
569 void AudioNode::updateChannelCountMode() | 571 void AudioNode::updateChannelCountMode() |
570 { | 572 { |
571 m_channelCountMode = m_newChannelCountMode; | 573 m_channelCountMode = m_newChannelCountMode; |
572 updateChannelsForInputs(); | 574 updateChannelsForInputs(); |
573 } | 575 } |
574 | 576 |
575 } // namespace blink | 577 } // namespace blink |
576 | 578 |
577 #endif // ENABLE(WEB_AUDIO) | 579 #endif // ENABLE(WEB_AUDIO) |
OLD | NEW |