IpatchSampleStoreRam
IpatchSampleStoreRam — Sample store object for audio data in RAM
|
|
Stability Level
Stable, unless otherwise indicated
Functions
ipatch_sample_store_ram_new ()
IpatchSample *
ipatch_sample_store_ram_new (gpointer location
,
gboolean free_data
);
Creates a new RAM sample store.
Returns
New RAM sample store,
cast as a IpatchSample for convenience.
[type IpatchSampleStoreRam]
ipatch_sample_store_ram_get_blank ()
IpatchSample *
ipatch_sample_store_ram_get_blank (void
);
Get blank mono RAM sample object. Return's a sample object
with 48 stereo 16 bit samples of silent audio. Only creates it on
the first call, subsequent calls return the same sample object. Therefore it
should not be modified.
Returns
The blank sample object. Remember to unref it when not
using it anymore with g_object_unref()
.
[transfer full]
Types and Values
enum IpatchSampleStoreRamFlags
Flags crammed into IpatchItem flags field.
IPATCH_SAMPLE_STORE_RAM_UNUSED_FLAG_SHIFT
#define IPATCH_SAMPLE_STORE_RAM_UNUSED_FLAG_SHIFT
Property Details
The “free-data”
property
“free-data” gboolean
Free data when object destroyed.
Owner: IpatchSampleStoreRam
Flags: Read / Write
Default value: FALSE
The “location”
property
“location” gpointer
Sample data pointer.
Owner: IpatchSampleStoreRam
Flags: Read / Write