AVBlocks for C++
1.9
Audio and Video Software Development Kit
|
The parameter represents a MediaBuffer object. More...
Inherits Parameter.
Public Member Functions | |
virtual primo::codecs::MediaBuffer * | buffer () const =0 |
Returns the buffer instance. | |
virtual void | setBuffer (primo::codecs::MediaBuffer *buffer)=0 |
Sets the buffer. |
The parameter represents a MediaBuffer object.
virtual primo::codecs::MediaBuffer* buffer | ( | ) | const [pure virtual] |
Returns the buffer instance.
virtual void setBuffer | ( | primo::codecs::MediaBuffer * | buffer | ) | [pure virtual] |
Sets the buffer.
buffer | [in] A pointer to MediaBuffer that will be stored in the parameter. It is allowed to set a NULL object. Internally the MediaBuffer specified by buffer is retained (if not NULL), so it is safe to release it after this method returns. The previous MediaBuffer is released (if not NULL). |