owntone-server/src/transcode.h

22 lines
433 B
C
Raw Normal View History

2009-05-01 09:31:59 -04:00
#ifndef __TRANSCODE_H__
#define __TRANSCODE_H__
2009-05-02 11:58:38 -04:00
#include "evhttp/evhttp.h"
2009-05-01 09:31:59 -04:00
struct transcode_ctx;
int
transcode(struct transcode_ctx *ctx, struct evbuffer *evbuf, int wanted);
struct transcode_ctx *
2010-04-04 06:31:33 -04:00
transcode_setup(struct media_file_info *mfi, off_t *est_size, int wavhdr);
2009-05-01 09:31:59 -04:00
void
transcode_cleanup(struct transcode_ctx *ctx);
int
transcode_needed(struct evkeyvalq *headers, char *file_codectype);
#endif /* !__TRANSCODE_H__ */