Top | ![]() |
![]() |
![]() |
![]() |
enum | IpatchSndFileEndian |
#define | IPATCH_SND_FILE_DEFAULT_FORMAT |
#define | IPATCH_SND_FILE_DEFAULT_SUB_FORMAT |
#define | IPATCH_SND_FILE_DEFAULT_ENDIAN |
GEnum ╰── IpatchSndFileEndian GObject ╰── IpatchItem ╰── IpatchFile ╰── IpatchSndFile
IpatchSndFile *
ipatch_snd_file_new (void
);
Create a new libsndfile file object.
int * ipatch_snd_file_format_get_sub_formats (int format
,guint *size
);
Get supported sub formats of a given libsndfile format.
int ipatch_snd_file_sample_format_to_sub_format (int sample_format
,int file_format
);
Get the optimal libsndfile sub format for a libinstpatch sample format. The
returned value may not be an exact equivalent, in the case of unsigned
sample data with bit widths greater than 8, but will return the optimal
format in those cases. If file_format
is not -1 then the resulting sub
format is guaranteed to be valid for it.
#define IPATCH_SND_FILE_DEFAULT_FORMAT SF_FORMAT_WAV
Default file format enum for IPATCH_TYPE_SND_FILE_FORMAT.
#define IPATCH_SND_FILE_DEFAULT_SUB_FORMAT SF_FORMAT_PCM_16
Default file sub format enum for IPATCH_TYPE_SND_FILE_SUB_FORMAT.