nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_ibstream.h File Reference
Include dependency graph for ags_vst_ibstream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AGS_VST_IBSTREAM_IID   (ags_vst_ibstream_get_iid())
 
#define AGS_VST_ISIZEABLE_STREAM_IID   (ags_vst_isizeable_stream_get_iid())
 

Typedefs

typedef struct IBStream AgsVstIBStream
 
typedef struct ISizeableStream AgsVstISizeableStream
 

Enumerations

enum  AgsVstIStreamSeekMode { AGS_VST_KIB_SEEK_SET = 0 , AGS_VST_KIB_SEEK_CUR , AGS_VST_KIB_SEEK_END }
 

Functions

AgsVstTUIDags_vst_ibstream_get_iid ()
 
AgsVstTResult ags_vst_ibstream_read (AgsVstIBStream *ib_stream, gpointer buffer, gint32 num_bytes, gint32 *num_bytes_read)
 
AgsVstTResult ags_vst_ibstream_write (AgsVstIBStream *ib_stream, gpointer buffer, gint32 num_bytes, gint32 *num_bytes_written)
 
AgsVstTResult ags_vst_ibstream_seek (AgsVstIBStream *ib_stream, gint64 pos, gint32 mode, gint64 *result)
 
AgsVstTResult ags_vst_ibstream_tell (AgsVstIBStream *ib_stream, gint64 *pos)
 
AgsVstTUIDags_vst_isizeable_stream_get_iid ()
 
AgsVstTResult ags_vst_isizeable_stream_set_stream_size (AgsVstISizeableStream *isizeable_stream, gint64 stream_size)
 

Macro Definition Documentation

◆ AGS_VST_IBSTREAM_IID

#define AGS_VST_IBSTREAM_IID   (ags_vst_ibstream_get_iid())

◆ AGS_VST_ISIZEABLE_STREAM_IID

#define AGS_VST_ISIZEABLE_STREAM_IID   (ags_vst_isizeable_stream_get_iid())

Typedef Documentation

◆ AgsVstIBStream

typedef struct IBStream AgsVstIBStream

◆ AgsVstISizeableStream

typedef struct ISizeableStream AgsVstISizeableStream

Enumeration Type Documentation

◆ AgsVstIStreamSeekMode

Enumerator
AGS_VST_KIB_SEEK_SET 
AGS_VST_KIB_SEEK_CUR 
AGS_VST_KIB_SEEK_END 

Function Documentation

◆ ags_vst_ibstream_get_iid()

AgsVstTUID * ags_vst_ibstream_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstTUID
Since
5.0.0

◆ ags_vst_ibstream_read()

AgsVstTResult ags_vst_ibstream_read ( AgsVstIBStream ib_stream,
gpointer  buffer,
gint32  num_bytes,
gint32 *  num_bytes_read 
)

Read.

Parameters
ib_streamthe stream
bufferthe buffer
num_bytesnumber of bytes
num_bytes_readnumber of read
Returns
the return value
Since
5.0.0

◆ ags_vst_ibstream_seek()

AgsVstTResult ags_vst_ibstream_seek ( AgsVstIBStream ib_stream,
gint64  pos,
gint32  mode,
gint64 *  result 
)

Seek.

Parameters
ib_streamthe stream
posthe position
modemode
resultthe result
Returns
the return value
Since
5.0.0

◆ ags_vst_ibstream_tell()

AgsVstTResult ags_vst_ibstream_tell ( AgsVstIBStream ib_stream,
gint64 *  pos 
)

Tell.

Parameters
ib_streamthe stream
posthe position
Returns
the return value
Since
5.0.0

◆ ags_vst_ibstream_write()

AgsVstTResult ags_vst_ibstream_write ( AgsVstIBStream ib_stream,
gpointer  buffer,
gint32  num_bytes,
gint32 *  num_bytes_written 
)

Write.

Parameters
ib_streamthe stream
bufferthe buffer
num_bytesnumber of bytes
num_bytes_writtennumber of read
Returns
the return value
Since
5.0.0

◆ ags_vst_isizeable_stream_get_iid()

AgsVstTUID * ags_vst_isizeable_stream_get_iid ( )

Get IID.

Returns
the Steinberg::TUID as AgsVstTUID
Since
5.0.0

◆ ags_vst_isizeable_stream_set_stream_size()

AgsVstTResult ags_vst_isizeable_stream_set_stream_size ( AgsVstISizeableStream isizeable_stream,
gint64  stream_size 
)

Set stream size.

Parameters
isizeable_streamthe stream
stream_sizestream size
Returns
the return code
Since
5.0.0