Top | ![]() |
![]() |
![]() |
![]() |
#define | ipatch_sample_store_get_format() |
#define | ipatch_sample_store_get_size() |
#define | ipatch_sample_store_get_rate() |
#define | ipatch_sample_store_get_size_bytes() |
IpatchSampleStore * | ipatch_sample_store_first () |
IpatchSampleStore * | ipatch_sample_store_next () |
int | sample-format | Read / Write |
int | sample-rate | Read / Write |
guint | sample-size | Read / Write |
GObject ╰── IpatchItem ╰── IpatchSampleStore ├── IpatchSampleStoreFile ├── IpatchSampleStoreRam ├── IpatchSampleStoreRom ├── IpatchSampleStoreSndFile ├── IpatchSampleStoreSwap ├── IpatchSampleStoreVirtual ╰── IpatchSampleStoreCache
Sample stores provide for various storage methods for audio data. Examples include: IpatchSampleStoreFile for audio data stored in files on disk, IpatchSampleStoreRAM for audio in RAM, IpatchSampleStoreROM for samples in ROM of a sound card, etc.
#define ipatch_sample_store_get_format(store)
Macro for getting the sample format from a sample store. No lock is required since format can only be set prior to the store being actively used.
#define ipatch_sample_store_get_size(store) ((store)->size)
Macro for getting the sample size in frames of a sample store. No lock is required since size can only be set prior to the store being actively used.
#define ipatch_sample_store_get_rate(store) ((store)->rate)
Macro for getting the sample rate from a sample store. No lock is required since rate can only be set prior to the store being actively used.
#define ipatch_sample_store_get_size_bytes(store)
Macro for getting the sample store data size in bytes. No lock is required since format and size can only be set prior to the store being actively used.
IpatchSampleStore *
ipatch_sample_store_first (IpatchIter *iter
);
Gets the first item in a sample store iterator. A convenience wrapper for
ipatch_iter_first()
.
[skip]
IpatchSampleStore *
ipatch_sample_store_next (IpatchIter *iter
);
Gets the next item in a sample store iterator. A convenience wrapper for
ipatch_iter_next()
.
[skip]
#define IPATCH_SAMPLE_STORE_FORMAT_SHIFT IPATCH_ITEM_UNUSED_FLAG_SHIFT
“sample-format”
property “sample-format” int
Sample format.
Owner: IpatchSampleStore
Flags: Read / Write
Allowed values: >= 0
Default value: 2
“sample-rate”
property “sample-rate” int
Sampling rate in Hertz.
Owner: IpatchSampleStore
Flags: Read / Write
Allowed values: [100,192000]
Default value: 44100