Index: third_party/WebKit/Source/platform/audio/AudioIOCallback.h |
diff --git a/third_party/WebKit/Source/platform/audio/AudioIOCallback.h b/third_party/WebKit/Source/platform/audio/AudioIOCallback.h |
index fa59684f66c231fd34a3636697bb88941bb62862..41eacc2b35b4d88475d341d21139c5ae234ff751 100644 |
--- a/third_party/WebKit/Source/platform/audio/AudioIOCallback.h |
+++ b/third_party/WebKit/Source/platform/audio/AudioIOCallback.h |
@@ -33,14 +33,16 @@ namespace blink { |
class AudioBus; |
-// Abstract base-class for isochronous audio I/O client. |
+// Abstract base-class for isochronous render. (e.g. AudioDestinationNode) |
class AudioIOCallback { |
-public: |
- // render() is called periodically to get the next render quantum of audio into destinationBus. |
- // Optional audio input is given in sourceBus (if it's not 0). |
- virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess) = 0; |
+public: |
virtual ~AudioIOCallback() { } |
+ |
+ // render() is called periodically to get the next render quantum of audio |
+ // into the destination bus. Optional external audio input is given in the |
+ // source bus. (e.g. live audio input) |
+ virtual void render(AudioBus* source, AudioBus* destination, size_t framesToProcess) = 0; |
}; |
} // namespace blink |