1 #ifndef _HAIRTUNES_H_ 2 #define _HAIRTUNES_H_ 3 4 int hairtunes_init(char *pAeskey, char *pAesiv, char *pFmtpstr, int pCtrlPort, int pTimingPort, 5 int pDataPort, char *pRtpHost, char*pPipeName, char *pLibaoDriver, char *pLibaoDeviceName, char *pLibaoDeviceId); 6 void hairtunes_setvolume(float vol); 7 void hairtunes_set_metadata(const char *buffer, unsigned int size); 8 void hairtunes_set_metadata_coverart(const char *buffer, unsigned int size); 9 void hairtunes_flush(void); 10 void hairtunes_cleanup(void); 11 12 // default buffer size 13 #define BUFFER_FRAMES 320 14 15 #endif 16