Gnash
0.8.11dev
|
#include <LiveSound.h>
Public Member Functions | |
Buffers (size_t in_point) | |
Buffers (const Buffers &)=delete | |
Buffers & | operator= (const Buffers &)=delete |
void | append (SimpleBuffer buf) |
Append a buffer of data to be read by the consumer later. More... | |
void | restart () |
size_t | copy (std::uint8_t *to, size_t bytes) |
Copy up to the given number of bytes to the given buffer. More... | |
std::uint64_t | countBytes () const |
std::uint64_t | consumed () const |
Maintains a collection of SimpleBuffers, providing stateful sequential read access to the data contained therein.
|
inline |
|
delete |
|
inline |
Append a buffer of data to be read by the consumer later.
Referenced by gnash::sound::LiveSound::appendDecodedData().
|
inline |
Referenced by gnash::sound::LiveSound::playbackPosition().
|
inline |
Copy up to the given number of bytes to the given buffer.
points to a buffer to be written to. number of bytes to be written.
References gnash::SimpleBuffer::data(), and gnash::SimpleBuffer::size().
|
inline |
Referenced by gnash::sound::LiveSound::decodedSamplesAhead().
|
inline |
Referenced by gnash::sound::LiveSound::restart().