Public Member Functions | Public Attributes

gnash::BufferedAudioStreamer::CursoredBuffer Class Reference

A buffer with a cursor state. More...

#include <NetStream_as.h>

List of all members.

Public Member Functions

 CursoredBuffer ()
 ~CursoredBuffer ()

Public Attributes

boost::uint32_t m_size
 Number of samples left in buffer starting from cursor.
boost::uint8_t * m_data
 Actual data.
boost::uint8_t * m_ptr
 Cursor into the data.

Detailed Description

A buffer with a cursor state.

Todo:
Make private, have push take a simpler form (Buffer?)

Constructor & Destructor Documentation

gnash::BufferedAudioStreamer::CursoredBuffer::CursoredBuffer (  )  [inline]
gnash::BufferedAudioStreamer::CursoredBuffer::~CursoredBuffer (  )  [inline]

References m_data.


Member Data Documentation

Actual data.

The data must be allocated with new [] as will be delete []'d by the dtor

Referenced by ~CursoredBuffer().

Cursor into the data.

Referenced by gnash::BufferedAudioStreamer::fetch().

Number of samples left in buffer starting from cursor.

Referenced by gnash::BufferedAudioStreamer::fetch(), and gnash::BufferedAudioStreamer::push().


The documentation for this class was generated from the following file: