Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: third_party/WebKit/Source/platform/audio/AudioSourceProvider.h

Issue 2384073002: reflow comments in platform/audio (Closed)
Patch Set: comments (heh!) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 28 matching lines...) Expand all
39 class AudioSourceProviderClient; 39 class AudioSourceProviderClient;
40 40
41 // Abstract base-class for a pull-model client. 41 // Abstract base-class for a pull-model client.
42 class PLATFORM_EXPORT AudioSourceProvider { 42 class PLATFORM_EXPORT AudioSourceProvider {
43 USING_FAST_MALLOC(AudioSourceProvider); 43 USING_FAST_MALLOC(AudioSourceProvider);
44 WTF_MAKE_NONCOPYABLE(AudioSourceProvider); 44 WTF_MAKE_NONCOPYABLE(AudioSourceProvider);
45 45
46 public: 46 public:
47 AudioSourceProvider() {} 47 AudioSourceProvider() {}
48 48
49 // provideInput() gets called repeatedly to render time-slices of a continuous audio stream. 49 // provideInput() gets called repeatedly to render time-slices of a continuous
50 // audio stream.
50 virtual void provideInput(AudioBus* bus, size_t framesToProcess) = 0; 51 virtual void provideInput(AudioBus* bus, size_t framesToProcess) = 0;
51 52
52 // If a client is set, we call it back when the audio format is available or c hanges. 53 // If a client is set, we call it back when the audio format is available or
54 // changes.
53 virtual void setClient(AudioSourceProviderClient*){}; 55 virtual void setClient(AudioSourceProviderClient*){};
54 56
55 virtual ~AudioSourceProvider() {} 57 virtual ~AudioSourceProvider() {}
56 }; 58 };
57 59
58 } // namespace blink 60 } // namespace blink
59 61
60 #endif // AudioSourceProvider_h 62 #endif // AudioSourceProvider_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698