2 #ifndef __BSE_DATA_HANDLE_FLAC_HH__
3 #define __BSE_DATA_HANDLE_FLAC_HH__
8 GslDataHandle* bse_data_handle_new_flac (
const char* file_name,
float osc_freq);
9 GslDataHandle* bse_data_handle_new_flac_zoffset (
const char *file_name,
float osc_freq,
11 uint *n_channelsp,
float *mix_freq_p);
21 GslDataHandle *dhandle;
22 DataHandleFlac *flac_handle;
24 static void destroy_fn (
void *handle);
25 static int read_data_fn (
void *handle,
void *buffer, uint blength);
29 int read_data (
void *buffer, uint blength);
38 #endif // __BSE_DATA_HANDLE_FLAC_HH
Definition: gslfilehash.hh:26
Flac1Handle supports storing flac files as binary appendix to BSE files.
Definition: bsedatahandle-flac.hh:18
static Flac1Handle * create(GslDataHandle *dhandle)
Return a valid Flac1Handle if dhandle is not flac, and a Flac1Handle otherwise.
Definition: bsedatahandle-flac.cc:380
void put_wstore(SfiWStore *wstore)
This function deletes the flac1handle object when sfi_wstore_destroy (wstore) is executed.
Definition: bsedatahandle-flac.cc:450
Definition: sfistore.hh:14
int read_data(void *buffer, uint blength)
Returns -errno || length.
Definition: bsedatahandle-flac.cc:426