view src/alac/decomp.h @ 2555:04b1b020be88

VFS file handle was not correctly closed and freed in certain situations, causing a filehandle shortage and crash. Fixed, based on patch and report by Teru KAMOGASHIRA.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 May 2008 22:16:12 +0300
parents 56c88eee9802
children
line wrap: on
line source

#ifndef __ALAC__DECOMP_H
#define __ALAC__DECOMP_H

typedef struct alac_file alac_file;

alac_file *create_alac(int samplesize, int numchannels);
void decode_frame(alac_file *alac,
                  unsigned char *inbuffer,
                  void *outbuffer, int *outputsize);
void alac_set_info(alac_file *alac, char *inputbuffer);

#endif /* __ALAC__DECOMP_H */