33#ifndef __FISH_SOUND_ENCODE_H__
34#define __FISH_SOUND_ENCODE_H__
56 long bytes,
void * user_data);
int fish_sound_set_encoded_callback(FishSound *fsound, FishSoundEncoded encoded, void *user_data)
Set the callback for libfishsound to call when it has a block of encoded data ready.
long fish_sound_encode_float_ilv(FishSound *fsound, float **pcm, long frames)
Encode a block of audio given as interleaved floats.
int(* FishSoundEncoded)(FishSound *fsound, unsigned char *buf, long bytes, void *user_data)
Signature of a callback for libfishsound to call when it has encoded data.
Definition: encode.h:55
long fish_sound_encode_float(FishSound *fsound, float *pcm[], long frames)
Encode a block of PCM audio given as non-interleaved floats.
void * FishSound
An opaque handle to a FishSound.
Definition: fishsound.h:433