<< | Utility functions | >> |
These are some utility functions that you might find useful. They are available in gwavefile.h.
static inline gint16 double_to_s16 (gdouble d); |
static inline gint32 double_to_s32 (gdouble d); |
static inline gdouble s16_to_double (gint16 i); |
static inline gdouble s32_to_double (gint32 i); |
guint32 g_wavefile_type_width (GWavefileType dtype); |
void g_wavefile_type_convert (guint32 n_channels, guint32 length, GWavefileType out_type, gpointer out, GWavefileType in_type, gpointer in); |
void g_wavefile_type_clear (guint32 n_channels, guint32 length, GWavefileType type, gpointer out); |
Utility functions |