33 #ifndef __FISH_SOUND_DECODE_H__
34 #define __FISH_SOUND_DECODE_H__
58 long frames,
void * user_data);
74 long frames,
void * user_data);
long fish_sound_decode(FishSound *fsound, unsigned char *buf, long bytes)
Decode a block of compressed data.
int(* FishSoundDecoded_FloatIlv)(FishSound *fsound, float **pcm, long frames, void *user_data)
Signature of a callback for libfishsound to call when it has decoded PCM audio data,...
Definition: decode.h:73
int fish_sound_set_decoded_float_ilv(FishSound *fsound, FishSoundDecoded_FloatIlv decoded, void *user_data)
Set the callback for libfishsound to call when it has a block of decoded PCM audio ready,...
int(* FishSoundDecoded_Float)(FishSound *fsound, float *pcm[], long frames, void *user_data)
Signature of a callback for libfishsound to call when it has decoded PCM audio data,...
Definition: decode.h:57
int fish_sound_set_decoded_float(FishSound *fsound, FishSoundDecoded_Float decoded, void *user_data)
Set the callback for libfishsound to call when it has a block of decoded PCM audio ready,...
void * FishSound
An opaque handle to a FishSound.
Definition: fishsound.h:433