OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // The provider of the data in our FIFO. | 59 // The provider of the data in our FIFO. |
60 AudioSourceProvider& m_provider; | 60 AudioSourceProvider& m_provider; |
61 | 61 |
62 // The actual FIFO | 62 // The actual FIFO |
63 AudioFIFO m_fifo; | 63 AudioFIFO m_fifo; |
64 | 64 |
65 // Number of frames of data that the provider will produce per call. | 65 // Number of frames of data that the provider will produce per call. |
66 unsigned int m_providerSize; | 66 unsigned int m_providerSize; |
67 | 67 |
68 // Temporary workspace to hold the data from the provider. | 68 // Temporary workspace to hold the data from the provider. |
69 AudioBus m_tempBus; | 69 RefPtr<AudioBus> m_tempBus; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace WebCore | 72 } // namespace WebCore |
73 | 73 |
74 #endif // AudioPullFIFO.h | 74 #endif // AudioPullFIFO.h |
OLD | NEW |