|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Stream implementation for a memory buffer. More...
#include "vstpresetfile.h"
Public Member Functions | |
| DECLARE_FUNKNOWN_METHODS tresult PLUGIN_API | read (void *buffer, int32 numBytes, int32 *numBytesRead=nullptr) SMTG_OVERRIDE |
| Reads binary data from stream. | |
| tresult PLUGIN_API | write (void *buffer, int32 numBytes, int32 *numBytesWritten=nullptr) SMTG_OVERRIDE |
| Writes binary data to stream. | |
| tresult PLUGIN_API | seek (int64 pos, int32 mode, int64 *result=nullptr) SMTG_OVERRIDE |
| Sets stream read-write position. | |
| tresult PLUGIN_API | tell (int64 *pos) SMTG_OVERRIDE |
| Gets current stream read-write position. | |
Public Member Functions inherited from Steinberg::FUnknown | |
| virtual tresult PLUGIN_API | queryInterface (const TUID _iid, void **obj)=0 |
| Query for a pointer to the specified interface. | |
| virtual uint32 PLUGIN_API | addRef ()=0 |
| Adds a reference and returns the new reference count. | |
| virtual uint32 PLUGIN_API | release ()=0 |
| Releases a reference and returns the new reference count. | |
Protected Attributes | |
| Buffer | mBuffer |
Additional Inherited Members | |
Public Types inherited from Steinberg::IBStream | |
| enum | IStreamSeekMode { kIBSeekSet , kIBSeekCur , kIBSeekEnd } |
Static Public Attributes inherited from Steinberg::IBStream | |
| static const FUID | iid |
Static Public Attributes inherited from Steinberg::FUnknown | |
| static const FUID | iid |
Stream implementation for a memory buffer.
Definition at line 285 of file vstpresetfile.h.
| Steinberg::Vst::BufferStream::BufferStream | ( | ) |
Definition at line 850 of file vstpresetfile.cpp.
|
virtual |
Definition at line 853 of file vstpresetfile.cpp.
|
virtual |
Reads binary data from stream.
| buffer | : destination buffer |
| numBytes | : amount of bytes to be read |
| numBytesRead | : result - how many bytes have been read from stream (set to 0 if this is of no interest) |
Implements Steinberg::IBStream.
Definition at line 856 of file vstpresetfile.cpp.
|
virtual |
Sets stream read-write position.
| pos | : new stream position (dependent on mode) |
| mode | : value of enum IStreamSeekMode |
| result | : new seek position (set to 0 if this is of no interest) |
Implements Steinberg::IBStream.
Definition at line 876 of file vstpresetfile.cpp.
|
virtual |
Gets current stream read-write position.
| pos | : is assigned the current position if function succeeds |
Implements Steinberg::IBStream.
Definition at line 918 of file vstpresetfile.cpp.
|
virtual |
Writes binary data to stream.
| buffer | : source buffer |
| numBytes | : amount of bytes to write |
| numBytesWritten | : result - how many bytes have been written to stream (set to 0 if this is of no interest) |
Implements Steinberg::IBStream.
Definition at line 866 of file vstpresetfile.cpp.
|
protected |
Definition at line 301 of file vstpresetfile.h.