| 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 * | 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 30 matching lines...) Expand all Loading... |
| 41 public: | 41 public: |
| 42 // provideInput() gets called repeatedly to render time-slices of a continuo
us audio stream. | 42 // provideInput() gets called repeatedly to render time-slices of a continuo
us audio stream. |
| 43 virtual void provideInput(AudioBus* bus, size_t framesToProcess) = 0; | 43 virtual void provideInput(AudioBus* bus, size_t framesToProcess) = 0; |
| 44 | 44 |
| 45 // If a client is set, we call it back when the audio format is available or
changes. | 45 // If a client is set, we call it back when the audio format is available or
changes. |
| 46 virtual void setClient(AudioSourceProviderClient*) { }; | 46 virtual void setClient(AudioSourceProviderClient*) { }; |
| 47 | 47 |
| 48 virtual ~AudioSourceProvider() { } | 48 virtual ~AudioSourceProvider() { } |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // WebCore | 51 } // namespace blink |
| 52 | 52 |
| 53 #endif // AudioSourceProvider_h | 53 #endif // AudioSourceProvider_h |
| OLD | NEW |