diff --git a/_manual/24_lua-scripting/02_class_reference.html b/_manual/24_lua-scripting/02_class_reference.html index 8940880e..c5fda362 100644 --- a/_manual/24_lua-scripting/02_class_reference.html +++ b/_manual/24_lua-scripting/02_class_reference.html @@ -525,6 +525,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
get buffer mapping for given data type and pin
Returns mapped buffer number (or ChanMapping::Invalid)
Test if this mapping is monotonic (useful to see if inplace processing is feasible)
Returns true if the map is a strict monotonic set
set buffer mapping for given data type
C/C++ Shared Memory
A convenience class representing a C array of float[] or int32_t[] data values. This is useful for lua scripts to perform DSP operations directly using C/C++ with CPU Hardware acceleration.
Access to this memory area is always 4 byte aligned. The data is interpreted either as float or as int.
This memory area can also be shared between different instances or the same lua plugin (DSP, GUI).
Since memory allocation is not realtime safe it should be allocated during dsp_init() or dsp_configure(). The memory is free()ed automatically when the lua instance is destroyed.
Constructor | ||
---|---|---|
ℂ | ARDOUR.DSP.DspShm (unsigned long) | |
Methods | ||
void | allocate (unsigned long) | |
[re] allocate memory in host's memory space
| ||
... | send (--lua--) | |
Transmit an OSC message Path (string) and type (string) must always be given. The number of following args must match the type. Supported types are: 'i': integer (lua number) 'f': float (lua number) 'd': double (lua number) 'h': 64bit integer (lua number) 's': string (lua string) 'c': character (lua string) 'T': boolean (lua bool) -- this is not implicily True, a lua true/false must be given 'F': boolean (lua bool) -- this is not implicily False, a lua true/false must be given
Returns boolean true if successful, false on error. |
C‡: ARDOUR::LuaTableRef
+ +Methods | ||
---|---|---|
... | get (--lua--) | |
... | set (--lua--) |
C‡: ARDOUR::Meter
@@ -1293,8 +1308,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to CA named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().
Methods | ||
---|---|---|
void | add_region (Region, long, float, bool) | |
Note: this calls set_layer (..., DBL_MAX) so it will reset the layering index of region | ||
void | add_region (Region, long, float, bool, int) | |
Region | combine (RegionList) | |
unsigned int | count_regions_at (long) | |
Playlist | cut (AudioRangeList&, bool) | |
RegionListPtr | regions_with_start_within (Range) | |
void | remove_region (Region) | |
void | split (long) | |
void | split_region (Region, long) | |
void | split_region (Region, long, int) | |
Region | top_region_at (long) | |
Region | top_unmuted_region_at (long) | |
void | uncombine (Region) | |
bool | captured () | |
void | clear_sync_position () | |
bool | covers (long) | |
void | cut_end (long) | |
void | cut_front (long) | |
void | cut_end (long, int) | |
void | cut_front (long, int) | |
DataType | data_type () | |
bool | external () | |
bool | hidden () | |
bool | locked () | |
void | lower () | |
void | lower_to_bottom () | |
void | move_start (long) | |
void | move_start (long, int) | |
void | move_to_natural_position () | |
bool | muted () | |
void | nudge_position (long) | |
void | set_hidden (bool) | |
void | set_initial_position (long) | |
A gui may need to create a region, then place it in an initial position determined by the user. When this takes place within one gui operation, we have to reset _last_position to prevent an implied move. | ||
void | set_length (long) | |
void | set_length (long, int) | |
void | set_locked (bool) | |
void | set_muted (bool) | |
void | set_opaque (bool) | |
void | set_position (long) | |
void | set_position (long, int) | |
void | set_position_locked (bool) | |
void | set_start (long) | |
void | set_sync_position (long) | |
LuaTable(long, ...) | sync_offset (int&) | |
long | sync_position () | |
Returns Sync position in session time | ||
void | trim_end (long) | |
| ||
void | trim_front (long) | |
void | trim_to (long, long) | |
void | trim_end (long, int) | |
void | trim_front (long, int) | |
void | trim_to (long, long, int) | |
bool | video_locked () | |
bool | whole_file () |
C‡: unsigned char*
+ +Methods | ||
---|---|---|
LuaMetaTable | array () | |
LuaTable | get_table () | |
unsigned char* | offset (unsigned int) | |
bool | sameinstance (unsigned char*) | |
void | set_table (LuaTable {unsigned char}) |
C‡: std::vector<double >
@@ -2765,8 +2789,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to CReturns a context object to perform operations on the surface
Get a pointer to the data of the image surface, for direct inspection or modification.
Return value: a pointer to the image data of this surface or NULL if is not an image surface.
Gets the height of the ImageSurface in pixels
Returns the number of Unicode characters in the the text of layout.
Returns The number of Unicode characters in the text of layout.
Gets the type of ellipsization being performed for layout. See set_ellipsize()
Use is_ellipsized() to query whether any paragraphs were actually ellipsized.
Returns The current ellipsization mode for layout.
C‡: PBD::RingBufferNPT<unsigned char>
+ +Constructor | ||
---|---|---|
ℂ | PBD.RingBuffer8 (unsigned long) | |
Methods | ||
void | increment_read_ptr (unsigned long) | |
void | increment_write_ptr (unsigned long) | |
unsigned long | read (unsigned char*, unsigned long) | |
unsigned long | read_space () | |
void | reset () | |
unsigned long | write (unsigned char*, unsigned long) | |
unsigned long | write_one (unsigned char) | |
unsigned long | write_space () |
C‡: PBD::RingBufferNPT<float>
+ +Constructor | ||
---|---|---|
ℂ | PBD.RingBufferF (unsigned long) | |
Methods | ||
void | increment_read_ptr (unsigned long) | |
void | increment_write_ptr (unsigned long) | |
unsigned long | read (FloatArray, unsigned long) | |
unsigned long | read_space () | |
void | reset () | |
unsigned long | write (FloatArray, unsigned long) | |
unsigned long | write_one (float) | |
unsigned long | write_space () |
C‡: PBD::RingBufferNPT<int>
+ +Constructor | ||
---|---|---|
ℂ | PBD.RingBufferI (unsigned long) | |
Methods | ||
void | increment_read_ptr (unsigned long) | |
void | increment_write_ptr (unsigned long) | |
unsigned long | read (IntArray, unsigned long) | |
unsigned long | read_space () | |
void | reset () | |
unsigned long | write (IntArray, unsigned long) | |
unsigned long | write_one (int) | |
unsigned long | write_space () |
C‡: PBD::Stateful
@@ -3461,6 +3529,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C