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 15 matching lines...) Expand all Loading... |
26 #define WebAudioBus_h | 26 #define WebAudioBus_h |
27 | 27 |
28 #include "WebCommon.h" | 28 #include "WebCommon.h" |
29 | 29 |
30 namespace WebCore { class AudioBus; } | 30 namespace WebCore { class AudioBus; } |
31 | 31 |
32 #if INSIDE_BLINK | 32 #if INSIDE_BLINK |
33 namespace WTF { template <typename T> class PassRefPtr; } | 33 namespace WTF { template <typename T> class PassRefPtr; } |
34 #endif | 34 #endif |
35 | 35 |
36 namespace WebKit { | 36 namespace blink { |
37 | 37 |
38 class WebAudioBusPrivate; | 38 class WebAudioBusPrivate; |
39 | 39 |
40 // A container for multi-channel linear PCM audio data. | 40 // A container for multi-channel linear PCM audio data. |
41 // | 41 // |
42 // WARNING: It is not safe to pass a WebAudioBus across threads!!! | 42 // WARNING: It is not safe to pass a WebAudioBus across threads!!! |
43 // | 43 // |
44 class BLINK_PLATFORM_EXPORT WebAudioBus { | 44 class BLINK_PLATFORM_EXPORT WebAudioBus { |
45 public: | 45 public: |
46 WebAudioBus() : m_private(0) { } | 46 WebAudioBus() : m_private(0) { } |
(...skipping 20 matching lines...) Expand all Loading... |
67 #endif | 67 #endif |
68 | 68 |
69 private: | 69 private: |
70 // Disallow copy and assign. | 70 // Disallow copy and assign. |
71 WebAudioBus(const WebAudioBus&); | 71 WebAudioBus(const WebAudioBus&); |
72 void operator=(const WebAudioBus&); | 72 void operator=(const WebAudioBus&); |
73 | 73 |
74 WebCore::AudioBus* m_private; | 74 WebCore::AudioBus* m_private; |
75 }; | 75 }; |
76 | 76 |
77 } // namespace WebKit | 77 } // namespace blink |
78 | 78 |
79 #endif // WebAudioBus_h | 79 #endif // WebAudioBus_h |
OLD | NEW |