source: roaraudio/include/libroar/file.h @ 556:24413e9e6310

Last change on this file since 556:24413e9e6310 was 556:24413e9e6310, checked in by phi, 16 years ago

added codec auto detection code for source cf and added roar_file_codecdetect() proto type

File size: 346 bytes
Line 
1//file.h:
2
3#ifndef _LIBROARFILE_H_
4#define _LIBROARFILE_H_
5
6#include "libroar.h"
7
8#ifdef ROAR_HAVE_LINUX_SENDFILE
9#include <sys/sendfile.h>
10#endif
11
12int     roar_file_codecdetect(char * buf, int len);
13ssize_t roar_file_send_raw   (int out, int in);
14ssize_t roar_file_play       (struct roar_connection * con, char * file, int exec);
15
16#endif
17
18//ll
Note: See TracBrowser for help on using the repository browser.