![]() |
gsequencer 7.0.5
Advanced Gtk+ Sequencer
|
#include <ags/vst3-capi/base/source/ags_vst_fbuffer.h>
#include <base/source/fbuffer.h>
#include <cstring>

Functions | |
AgsVstBuffer * | ags_vst_buffer_new () |
AgsVstBuffer * | ags_vst_buffer_new_from_string (void *b, guint32 size) |
AgsVstBuffer * | ags_vst_buffer_new_and_fill_up (guint32 size, guint8 init_val) |
AgsVstBuffer * | ags_vst_buffer_new_with_size (guint32 size) |
AgsVstBuffer * | ags_vst_buffer_new_from_buffer (AgsVstBuffer *buffer) |
void | ags_vst_buffer_delete (AgsVstBuffer *buffer) |
void | ags_vst_buffer_equal (AgsVstBuffer *destination_buffer, AgsVstBuffer *source_buffer) |
gboolean | ags_vst_buffer_equals (AgsVstBuffer *buffer_a, AgsVstBuffer *buffer_b) |
guint32 | ags_vst_buffer_get_size (AgsVstBuffer *buffer) |
gboolean | ags_vst_buffer_set_size (AgsVstBuffer *buffer, guint32 new_size) |
gboolean | ags_vst_buffer_grow (AgsVstBuffer *buffer, guint32 mem_size) |
gboolean | ags_vst_buffer_set_max_size (AgsVstBuffer *buffer, guint32 size) |
void | ags_vst_buffer_fillup (AgsVstBuffer *buffer, guint8 init_val) |
guint32 | ags_vst_buffer_get_fill_size (AgsVstBuffer *buffer) |
gboolean | ags_vst_buffer_set_fill_size (AgsVstBuffer *buffer, guint32 c) |
void | ags_vst_buffer_flush (AgsVstBuffer *buffer) |
gboolean | ags_vst_buffer_truncate_to_fill_size (AgsVstBuffer *buffer) |
gboolean | ags_vst_buffer_is_full (AgsVstBuffer *buffer) |
guint32 | ags_vst_buffer_get_free (AgsVstBuffer *buffer) |
void | ags_vst_buffer_shift_start (AgsVstBuffer *buffer, gint32 amount) |
void | ags_vst_buffer_shift_at (AgsVstBuffer *buffer, guint32 position, gint32 amount) |
void | ags_vst_buffer_move (AgsVstBuffer *buffer, gint32 amount, guint8 init_val) |
gboolean | ags_vst_buffer_copy (AgsVstBuffer *buffer, guint32 from, guint32 to, guint32 bytes) |
guint32 | ags_vst_buffer_get (AgsVstBuffer *buffer, void *b, guint32 size) |
void | ags_vst_buffer_set_delta (AgsVstBuffer *buffer, guint32 d) |
gboolean | ags_vst_buffer_put_from_uint8 (AgsVstBuffer *buffer, guint8 val) |
gboolean | ags_vst_buffer_put_from_unichar2 (AgsVstBuffer *buffer, gunichar2 c) |
gboolean | ags_vst_buffer_put_from_char (AgsVstBuffer *buffer, gchar c) |
gboolean | ags_vst_buffer_put_from_buffer (AgsVstBuffer *buffer, void *ptr_buffer, guint32 size) |
gboolean | ags_vst_buffer_put_from_uint8_buffer (AgsVstBuffer *buffer, guint8 *ptr_buffer, guint32 size) |
gboolean | ags_vst_buffer_put_from_char_buffer (AgsVstBuffer *buffer, gchar *ptr_buffer, guint32 size) |
gboolean | ags_vst_buffer_put_from_string (AgsVstBuffer *buffer, gchar *string) |
void | ags_vst_buffer_set (AgsVstBuffer *buffer, guint8 value) |
gboolean | ags_vst_buffer_append_string (AgsVstBuffer *buffer, ags_vst_tchar *s) |
gboolean | ags_vst_buffer_append_char (AgsVstBuffer *buffer, ags_vst_tchar c) |
gboolean | ags_vst_buffer_append_string_from_char_buffer (AgsVstBuffer *buffer, gchar *s) |
gboolean | ags_vst_buffer_append_string_from_uchar_buffer (AgsVstBuffer *buffer, guchar *s) |
gboolean | ags_vst_buffer_append_string_from_unichar2_buffer (AgsVstBuffer *buffer, gunichar2 *s) |
gboolean | ags_vst_buffer_append_string_from_char_byte (AgsVstBuffer *buffer, gchar c) |
gboolean | ags_vst_buffer_append_string_from_uchar_byte (AgsVstBuffer *buffer, guchar c) |
gboolean | ags_vst_buffer_append_string_from_unichar2_byte (AgsVstBuffer *buffer, gunichar2 c) |
gboolean | ags_vst_buffer_prepend_string (AgsVstBuffer *buffer, ags_vst_tchar *s) |
gboolean | ags_vst_buffer_prepend_char (AgsVstBuffer *buffer, ags_vst_tchar c) |
gboolean | ags_vst_buffer_prepend_string_from_char_buffer (AgsVstBuffer *buffer, gchar *s) |
gboolean | ags_vst_buffer_prepend_string_from_uchar_buffer (AgsVstBuffer *buffer, guchar *s) |
gboolean | ags_vst_buffer_prepend_string_from_unichar2_buffer (AgsVstBuffer *buffer, gunichar2 *s) |
gboolean | ags_vst_buffer_prepend_string_from_char_byte (AgsVstBuffer *buffer, gchar c) |
gboolean | ags_vst_buffer_prepend_string_from_uchar_byte (AgsVstBuffer *buffer, guchar c) |
gboolean | ags_vst_buffer_prepend_string_from_unichar2_byte (AgsVstBuffer *buffer, gunichar2 c) |
void | ags_vst_buffer_end_string (AgsVstBuffer *buffer) |
void | ags_vst_buffer_end_string_char (AgsVstBuffer *buffer) |
void | ags_vst_buffer_end_string_unichar2 (AgsVstBuffer *buffer) |
gboolean | ags_vst_buffer_make_hex_string (AgsVstBuffer *buffer, gchar **result) |
gboolean | ags_vst_buffer_from_hex_string (AgsVstBuffer *buffer, gchar *string) |
void * | ags_vst_buffer_to_buffer (AgsVstBuffer *buffer) |
ags_vst_tchar * | ags_vst_buffer_to_str (AgsVstBuffer *buffer) |
gchar * | ags_vst_buffer_to_str8 (AgsVstBuffer *buffer) |
gunichar2 * | ags_vst_buffer_to_str16 (AgsVstBuffer *buffer) |
gint8 * | ags_vst_buffer_to_int8_ptr (AgsVstBuffer *buffer) |
guint8 * | ags_vst_buffer_to_uint8_ptr (AgsVstBuffer *buffer) |
gint16 * | ags_vst_buffer_to_int16_ptr (AgsVstBuffer *buffer) |
guint16 * | ags_vst_buffer_to_uint16_ptr (AgsVstBuffer *buffer) |
gint32 * | ags_vst_buffer_to_int32_ptr (AgsVstBuffer *buffer) |
guint32 * | ags_vst_buffer_to_uint32_ptr (AgsVstBuffer *buffer) |
gfloat * | ags_vst_buffer_to_float_ptr (AgsVstBuffer *buffer) |
gdouble * | ags_vst_buffer_to_double_ptr (AgsVstBuffer *buffer) |
gunichar2 * | ags_vst_buffer_to_wchar_ptr (AgsVstBuffer *buffer) |
gboolean | ags_vst_buffer_swap (AgsVstBuffer *buffer, gint16 swap_size) |
gboolean | ags_vst_buffer_swap_buffer (AgsVstBuffer *buffer, void *ptr_buffer, guint32 buffer_size, gint16 swap_size) |
void | ags_vst_buffer_take (AgsVstBuffer *buffer, AgsVstBuffer *from) |
gint8 * | ags_vst_buffer_pass (AgsVstBuffer *buffer) |
gboolean | ags_vst_buffer_to_wide_string (AgsVstBuffer *buffer, gint32 source_code_page) |
gboolean | ags_vst_buffer_to_multibyte_string (AgsVstBuffer *buffer, gint32 dest_code_page) |
Function Documentation
◆ ags_vst_buffer_append_char()
gboolean ags_vst_buffer_append_char | ( | AgsVstBuffer * | buffer, |
ags_vst_tchar | c | ||
) |
Append character.
- Parameters
-
buffer the buffer c the char
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_append_string()
gboolean ags_vst_buffer_append_string | ( | AgsVstBuffer * | buffer, |
ags_vst_tchar * | s | ||
) |
Append string.
- Parameters
-
buffer the buffer s the string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_append_string_from_char_buffer()
gboolean ags_vst_buffer_append_string_from_char_buffer | ( | AgsVstBuffer * | buffer, |
gchar * | s | ||
) |
Append string from char buffer.
- Parameters
-
buffer the buffer s the string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_append_string_from_char_byte()
gboolean ags_vst_buffer_append_string_from_char_byte | ( | AgsVstBuffer * | buffer, |
gchar | c | ||
) |
Append string from char byte.
- Parameters
-
buffer the buffer c the char
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_append_string_from_uchar_buffer()
gboolean ags_vst_buffer_append_string_from_uchar_buffer | ( | AgsVstBuffer * | buffer, |
guchar * | s | ||
) |
Append string from unsigned char buffer.
- Parameters
-
buffer the buffer s the unsigned string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_append_string_from_uchar_byte()
gboolean ags_vst_buffer_append_string_from_uchar_byte | ( | AgsVstBuffer * | buffer, |
guchar | c | ||
) |
Append string from unsigned char byte.
- Parameters
-
buffer the buffer c the char
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_append_string_from_unichar2_buffer()
gboolean ags_vst_buffer_append_string_from_unichar2_buffer | ( | AgsVstBuffer * | buffer, |
gunichar2 * | s | ||
) |
Append string from unicode buffer.
- Parameters
-
buffer the buffer s the unicode string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_append_string_from_unichar2_byte()
gboolean ags_vst_buffer_append_string_from_unichar2_byte | ( | AgsVstBuffer * | buffer, |
gunichar2 | c | ||
) |
Append string from unicode bytes.
- Parameters
-
buffer the buffer c the unicode bytes
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_copy()
gboolean ags_vst_buffer_copy | ( | AgsVstBuffer * | buffer, |
guint32 | from, | ||
guint32 | to, | ||
guint32 | bytes | ||
) |
Copy.
- Parameters
-
buffer the buffer from the from position to the to position bytes the bytes count
- Since
- 5.0.0
◆ ags_vst_buffer_delete()
void ags_vst_buffer_delete | ( | AgsVstBuffer * | buffer | ) |
Delete Steinberg::Buffer.
- Parameters
-
buffer the buffer
- Since
- 5.0.0
◆ ags_vst_buffer_end_string()
void ags_vst_buffer_end_string | ( | AgsVstBuffer * | buffer | ) |
End string.
- Parameters
-
buffer the buffer
- Since
- 5.0.0
◆ ags_vst_buffer_end_string_char()
void ags_vst_buffer_end_string_char | ( | AgsVstBuffer * | buffer | ) |
End char string.
- Parameters
-
buffer the buffer
- Since
- 5.0.0
◆ ags_vst_buffer_end_string_unichar2()
void ags_vst_buffer_end_string_unichar2 | ( | AgsVstBuffer * | buffer | ) |
End unicode string.
- Parameters
-
buffer the buffer
- Since
- 5.0.0
◆ ags_vst_buffer_equal()
void ags_vst_buffer_equal | ( | AgsVstBuffer * | destination_buffer, |
AgsVstBuffer * | source_buffer | ||
) |
The destination is made equals to source.
- Parameters
-
destination_buffer the destination buffer source_buffer the source buffer
- Since
- 5.0.0
◆ ags_vst_buffer_equals()
gboolean ags_vst_buffer_equals | ( | AgsVstBuffer * | buffer_a, |
AgsVstBuffer * | buffer_b | ||
) |
The buffers a and b are tested to be equals.
- Parameters
-
buffer_a the buffer buffer_b the other buffer
- Returns
- true if equals, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_fillup()
void ags_vst_buffer_fillup | ( | AgsVstBuffer * | buffer, |
guint8 | init_val | ||
) |
Fill up buffer.
- Parameters
-
buffer the buffer init_val the initial value
- Since
- 5.0.0
◆ ags_vst_buffer_flush()
void ags_vst_buffer_flush | ( | AgsVstBuffer * | buffer | ) |
Flush.
- Parameters
-
buffer the buffer
- Since
- 5.0.0
◆ ags_vst_buffer_from_hex_string()
gboolean ags_vst_buffer_from_hex_string | ( | AgsVstBuffer * | buffer, |
gchar * | string | ||
) |
From hex string.
- Parameters
-
buffer the buffer string the hex string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_get()
guint32 ags_vst_buffer_get | ( | AgsVstBuffer * | buffer, |
void * | b, | ||
guint32 | size | ||
) |
Get.
- Parameters
-
buffer the buffer b the pointer size the size
- Returns
- the value
- Since
- 5.0.0
◆ ags_vst_buffer_get_fill_size()
guint32 ags_vst_buffer_get_fill_size | ( | AgsVstBuffer * | buffer | ) |
Get fill size.
- Parameters
-
buffer the buffer
- Returns
- the fill size
- Since
- 5.0.0
◆ ags_vst_buffer_get_free()
guint32 ags_vst_buffer_get_free | ( | AgsVstBuffer * | buffer | ) |
Get free.
- Parameters
-
buffer the buffer
- Returns
- the free size
- Since
- 5.0.0
◆ ags_vst_buffer_get_size()
guint32 ags_vst_buffer_get_size | ( | AgsVstBuffer * | buffer | ) |
Get buffer size.
- Parameters
-
buffer the buffer
- Returns
- the size of buffer
- Since
- 5.0.0
◆ ags_vst_buffer_grow()
gboolean ags_vst_buffer_grow | ( | AgsVstBuffer * | buffer, |
guint32 | mem_size | ||
) |
Grow buffer size.
- Parameters
-
buffer the buffer mem_size the mem size
- Returns
- true if success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_is_full()
gboolean ags_vst_buffer_is_full | ( | AgsVstBuffer * | buffer | ) |
Test if is full.
- Parameters
-
buffer the buffer
- Returns
- true if full, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_make_hex_string()
gboolean ags_vst_buffer_make_hex_string | ( | AgsVstBuffer * | buffer, |
gchar ** | result | ||
) |
Make hex string.
- Parameters
-
buffer the buffer result the return location of hex string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_move()
void ags_vst_buffer_move | ( | AgsVstBuffer * | buffer, |
gint32 | amount, | ||
guint8 | init_val | ||
) |
Move.
- Parameters
-
buffer the buffer amount the amount init_val the initial value
- Since
- 5.0.0
◆ ags_vst_buffer_new()
AgsVstBuffer * ags_vst_buffer_new | ( | ) |
Instantiate Steinberg::Buffer and return a C99 compatible handle AgsVstBuffer a void pointer.
- Returns
- the new instance of Steinberg::Buffer as AgsVstBuffer
- Since
- 5.0.0
◆ ags_vst_buffer_new_and_fill_up()
AgsVstBuffer * ags_vst_buffer_new_and_fill_up | ( | guint32 | size, |
guint8 | init_val | ||
) |
Instantiate Steinberg::Buffer and return a C99 compatible handle AgsVstBuffer a void pointer.
- Parameters
-
size the size init_val the initial value
- Returns
- the new instance of Steinberg::Buffer as AgsVstBuffer
- Since
- 5.0.0
◆ ags_vst_buffer_new_from_buffer()
AgsVstBuffer * ags_vst_buffer_new_from_buffer | ( | AgsVstBuffer * | buffer | ) |
Instantiate Steinberg::Buffer and return a C99 compatible handle AgsVstBuffer a void pointer.
- Parameters
-
buffer the buffer
- Returns
- the new instance of Steinberg::Buffer as AgsVstBuffer
- Since
- 5.0.0
◆ ags_vst_buffer_new_from_string()
AgsVstBuffer * ags_vst_buffer_new_from_string | ( | void * | b, |
guint32 | size | ||
) |
Instantiate Steinberg::Buffer and return a C99 compatible handle AgsVstBuffer a void pointer.
- Parameters
-
b the string size the size
- Returns
- the new instance of Steinberg::Buffer as AgsVstBuffer
- Since
- 5.0.0
◆ ags_vst_buffer_new_with_size()
AgsVstBuffer * ags_vst_buffer_new_with_size | ( | guint32 | size | ) |
Instantiate Steinberg::Buffer and return a C99 compatible handle AgsVstBuffer a void pointer.
- Parameters
-
size the size
- Returns
- the new instance of Steinberg::Buffer as AgsVstBuffer
- Since
- 5.0.0
◆ ags_vst_buffer_pass()
gint8 * ags_vst_buffer_pass | ( | AgsVstBuffer * | buffer | ) |
Pass.
- Parameters
-
buffer the buffer
- Returns
- the gint8 array
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_char()
gboolean ags_vst_buffer_prepend_char | ( | AgsVstBuffer * | buffer, |
ags_vst_tchar | c | ||
) |
Prepend character.
- Parameters
-
buffer the buffer c the char
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_string()
gboolean ags_vst_buffer_prepend_string | ( | AgsVstBuffer * | buffer, |
ags_vst_tchar * | s | ||
) |
Prepend string.
- Parameters
-
buffer the buffer s the string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_string_from_char_buffer()
gboolean ags_vst_buffer_prepend_string_from_char_buffer | ( | AgsVstBuffer * | buffer, |
gchar * | s | ||
) |
Prepend string from char buffer.
- Parameters
-
buffer the buffer s the string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_string_from_char_byte()
gboolean ags_vst_buffer_prepend_string_from_char_byte | ( | AgsVstBuffer * | buffer, |
gchar | c | ||
) |
Prepend string from char byte.
- Parameters
-
buffer the buffer c the char
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_string_from_uchar_buffer()
gboolean ags_vst_buffer_prepend_string_from_uchar_buffer | ( | AgsVstBuffer * | buffer, |
guchar * | s | ||
) |
Prepend string from unsigned char buffer.
- Parameters
-
buffer the buffer s the unsigned string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_string_from_uchar_byte()
gboolean ags_vst_buffer_prepend_string_from_uchar_byte | ( | AgsVstBuffer * | buffer, |
guchar | c | ||
) |
Prepend string from unsigned char byte.
- Parameters
-
buffer the buffer c the char
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_string_from_unichar2_buffer()
gboolean ags_vst_buffer_prepend_string_from_unichar2_buffer | ( | AgsVstBuffer * | buffer, |
gunichar2 * | s | ||
) |
Prepend string from unicode buffer.
- Parameters
-
buffer the buffer s the unicode string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_prepend_string_from_unichar2_byte()
gboolean ags_vst_buffer_prepend_string_from_unichar2_byte | ( | AgsVstBuffer * | buffer, |
gunichar2 | c | ||
) |
Prepend string from unicode bytes.
- Parameters
-
buffer the buffer c the unicode bytes
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_put_from_buffer()
gboolean ags_vst_buffer_put_from_buffer | ( | AgsVstBuffer * | buffer, |
void * | ptr_buffer, | ||
guint32 | size | ||
) |
Put from buffer.
- Parameters
-
buffer the buffer ptr_buffer the pointer on buffer size the size
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_put_from_char()
gboolean ags_vst_buffer_put_from_char | ( | AgsVstBuffer * | buffer, |
gchar | c | ||
) |
Put from character.
- Parameters
-
buffer the buffer c the value
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_put_from_char_buffer()
gboolean ags_vst_buffer_put_from_char_buffer | ( | AgsVstBuffer * | buffer, |
gchar * | ptr_buffer, | ||
guint32 | size | ||
) |
Put from character buffer.
- Parameters
-
buffer the buffer ptr_buffer the pointer on buffer size the size
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_put_from_string()
gboolean ags_vst_buffer_put_from_string | ( | AgsVstBuffer * | buffer, |
gchar * | string | ||
) |
Put from string.
- Parameters
-
buffer the buffer string the string
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_put_from_uint8()
gboolean ags_vst_buffer_put_from_uint8 | ( | AgsVstBuffer * | buffer, |
guint8 | val | ||
) |
Put from unsigned byte.
- Parameters
-
buffer the buffer val the value
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_put_from_uint8_buffer()
gboolean ags_vst_buffer_put_from_uint8_buffer | ( | AgsVstBuffer * | buffer, |
guint8 * | ptr_buffer, | ||
guint32 | size | ||
) |
Put from unsigned byte buffer.
- Parameters
-
buffer the buffer ptr_buffer the pointer on buffer size the size
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_put_from_unichar2()
gboolean ags_vst_buffer_put_from_unichar2 | ( | AgsVstBuffer * | buffer, |
gunichar2 | c | ||
) |
Put from unicode character.
- Parameters
-
buffer the buffer c the value
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_set()
void ags_vst_buffer_set | ( | AgsVstBuffer * | buffer, |
guint8 | value | ||
) |
Set unsigned byte value.
- Parameters
-
buffer the buffer value the value
- Since
- 5.0.0
◆ ags_vst_buffer_set_delta()
void ags_vst_buffer_set_delta | ( | AgsVstBuffer * | buffer, |
guint32 | d | ||
) |
Set delta.
- Parameters
-
buffer the buffer d the delta
- Since
- 5.0.0
◆ ags_vst_buffer_set_fill_size()
gboolean ags_vst_buffer_set_fill_size | ( | AgsVstBuffer * | buffer, |
guint32 | c | ||
) |
Set fill size.
- Parameters
-
buffer the buffer c the fill size
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_set_max_size()
gboolean ags_vst_buffer_set_max_size | ( | AgsVstBuffer * | buffer, |
guint32 | size | ||
) |
Set buffer max size.
- Parameters
-
buffer the buffer size the max size
- Returns
- true if success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_set_size()
gboolean ags_vst_buffer_set_size | ( | AgsVstBuffer * | buffer, |
guint32 | new_size | ||
) |
Set buffer size.
- Parameters
-
buffer the buffer new_size the new size
- Returns
- true if success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_shift_at()
void ags_vst_buffer_shift_at | ( | AgsVstBuffer * | buffer, |
guint32 | position, | ||
gint32 | amount | ||
) |
Shift at.
- Parameters
-
buffer the buffer position the position amount the amount
- Since
- 5.0.0
◆ ags_vst_buffer_shift_start()
void ags_vst_buffer_shift_start | ( | AgsVstBuffer * | buffer, |
gint32 | amount | ||
) |
Shift start.
- Parameters
-
buffer the buffer amount the amount
- Since
- 5.0.0
◆ ags_vst_buffer_swap()
gboolean ags_vst_buffer_swap | ( | AgsVstBuffer * | buffer, |
gint16 | swap_size | ||
) |
Swap.
- Parameters
-
buffer the buffer swap_size the swap size
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_swap_buffer()
gboolean ags_vst_buffer_swap_buffer | ( | AgsVstBuffer * | buffer, |
void * | ptr_buffer, | ||
guint32 | buffer_size, | ||
gint16 | swap_size | ||
) |
Swap buffer.
- Parameters
-
buffer the buffer ptr_buffer the buffer pointer buffer_size the buffer size swap_size the swap size
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_take()
void ags_vst_buffer_take | ( | AgsVstBuffer * | buffer, |
AgsVstBuffer * | from | ||
) |
Take.
- Parameters
-
buffer the buffer from the other buffer
- Since
- 5.0.0
◆ ags_vst_buffer_to_buffer()
void * ags_vst_buffer_to_buffer | ( | AgsVstBuffer * | buffer | ) |
To buffer.
- Parameters
-
buffer the buffer
- Returns
- the buffer
- Since
- 5.0.0
◆ ags_vst_buffer_to_double_ptr()
gdouble * ags_vst_buffer_to_double_ptr | ( | AgsVstBuffer * | buffer | ) |
To gdouble array.
- Parameters
-
buffer the buffer
- Returns
- the gdouble array
- Since
- 5.0.0
◆ ags_vst_buffer_to_float_ptr()
gfloat * ags_vst_buffer_to_float_ptr | ( | AgsVstBuffer * | buffer | ) |
To gfloat array.
- Parameters
-
buffer the buffer
- Returns
- the gfloat array
- Since
- 5.0.0
◆ ags_vst_buffer_to_int16_ptr()
gint16 * ags_vst_buffer_to_int16_ptr | ( | AgsVstBuffer * | buffer | ) |
To gint16 array.
- Parameters
-
buffer the buffer
- Returns
- the gint16 array
- Since
- 5.0.0
◆ ags_vst_buffer_to_int32_ptr()
gint32 * ags_vst_buffer_to_int32_ptr | ( | AgsVstBuffer * | buffer | ) |
To gint32 array.
- Parameters
-
buffer the buffer
- Returns
- the gint32 array
- Since
- 5.0.0
◆ ags_vst_buffer_to_int8_ptr()
gint8 * ags_vst_buffer_to_int8_ptr | ( | AgsVstBuffer * | buffer | ) |
To gint8 array.
- Parameters
-
buffer the buffer
- Returns
- the gint8 array
- Since
- 5.0.0
◆ ags_vst_buffer_to_multibyte_string()
gboolean ags_vst_buffer_to_multibyte_string | ( | AgsVstBuffer * | buffer, |
gint32 | dest_code_page | ||
) |
To multibyte string.
- Parameters
-
buffer the buffer @dest_code_page the destination code page
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_to_str()
ags_vst_tchar * ags_vst_buffer_to_str | ( | AgsVstBuffer * | buffer | ) |
To string.
- Parameters
-
buffer the buffer
- Returns
- the string
- Since
- 5.0.0
◆ ags_vst_buffer_to_str16()
gunichar2 * ags_vst_buffer_to_str16 | ( | AgsVstBuffer * | buffer | ) |
To unicode string.
- Parameters
-
buffer the buffer
- Returns
- the unicode string
- Since
- 5.0.0
◆ ags_vst_buffer_to_str8()
gchar * ags_vst_buffer_to_str8 | ( | AgsVstBuffer * | buffer | ) |
To char string.
- Parameters
-
buffer the buffer
- Returns
- the char string
- Since
- 5.0.0
◆ ags_vst_buffer_to_uint16_ptr()
guint16 * ags_vst_buffer_to_uint16_ptr | ( | AgsVstBuffer * | buffer | ) |
To guint16 array.
- Parameters
-
buffer the buffer
- Returns
- the guint16 array
- Since
- 5.0.0
◆ ags_vst_buffer_to_uint32_ptr()
guint32 * ags_vst_buffer_to_uint32_ptr | ( | AgsVstBuffer * | buffer | ) |
To guint32 array.
- Parameters
-
buffer the buffer
- Returns
- the guint32 array
- Since
- 5.0.0
◆ ags_vst_buffer_to_uint8_ptr()
guint8 * ags_vst_buffer_to_uint8_ptr | ( | AgsVstBuffer * | buffer | ) |
To guint8 array.
- Parameters
-
buffer the buffer
- Returns
- the guint8 array
- Since
- 5.0.0
◆ ags_vst_buffer_to_wchar_ptr()
gunichar2 * ags_vst_buffer_to_wchar_ptr | ( | AgsVstBuffer * | buffer | ) |
To unicode array.
- Parameters
-
buffer the buffer
- Returns
- the unicode array
- Since
- 5.0.0
◆ ags_vst_buffer_to_wide_string()
gboolean ags_vst_buffer_to_wide_string | ( | AgsVstBuffer * | buffer, |
gint32 | source_code_page | ||
) |
To wide string.
- Parameters
-
buffer the buffer @source_code_page the source code page
- Returns
- true on success, otherwise false
- Since
- 5.0.0
◆ ags_vst_buffer_truncate_to_fill_size()
gboolean ags_vst_buffer_truncate_to_fill_size | ( | AgsVstBuffer * | buffer | ) |
Truncate to fill size.
- Parameters
-
buffer the buffer
- Returns
- true on success, otherwise false
- Since
- 5.0.0
Generated by