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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 void setBuffer(AudioBuffer*, ExceptionState&); | 168 void setBuffer(AudioBuffer*, ExceptionState&); |
169 AudioParam* playbackRate() const; | 169 AudioParam* playbackRate() const; |
170 AudioParam* detune() const; | 170 AudioParam* detune() const; |
171 bool loop() const; | 171 bool loop() const; |
172 void setLoop(bool); | 172 void setLoop(bool); |
173 double loopStart() const; | 173 double loopStart() const; |
174 void setLoopStart(double); | 174 void setLoopStart(double); |
175 double loopEnd() const; | 175 double loopEnd() const; |
176 void setLoopEnd(double); | 176 void setLoopEnd(double); |
177 | 177 |
178 void start(ExceptionState&); | 178 void startNode(ExceptionState&); |
179 void start(double when, ExceptionState&); | 179 void startNode(double when, ExceptionState&); |
180 void start(double when, double grainOffset, ExceptionState&); | 180 void startNode(double when, double grainOffset, ExceptionState&); |
181 void start(double when, double grainOffset, double grainDuration, ExceptionS
tate&); | 181 void startNode(double when, double grainOffset, double grainDuration, Except
ionState&); |
182 | 182 |
183 private: | 183 private: |
184 AudioBufferSourceNode(AbstractAudioContext&, float sampleRate); | 184 AudioBufferSourceNode(AbstractAudioContext&, float sampleRate); |
185 | 185 |
186 Member<AudioParam> m_playbackRate; | 186 Member<AudioParam> m_playbackRate; |
187 Member<AudioParam> m_detune; | 187 Member<AudioParam> m_detune; |
188 }; | 188 }; |
189 | 189 |
190 } // namespace blink | 190 } // namespace blink |
191 | 191 |
192 #endif // AudioBufferSourceNode_h | 192 #endif // AudioBufferSourceNode_h |
OLD | NEW |