# HG changeset patch # User arpi # Date 1042911118 0 # Node ID 06d7ef3c7b01b3f7d3c38c0fa68cc42ea4e22415 # Parent a6615e7bc7103de4b470ebbc228503dc77c094fc export fmt2str() diff -r a6615e7bc710 -r 06d7ef3c7b01 libaf/af_format.c --- a/libaf/af_format.c Sat Jan 18 17:31:22 2003 +0000 +++ b/libaf/af_format.c Sat Jan 18 17:31:58 2003 +0000 @@ -88,7 +88,7 @@ /* Convert format to str input str is a buffer for the converted string, size is the size of the buffer */ -static char* fmt2str(int format, char* str, size_t size) +char* fmt2str(int format, char* str, size_t size) { int i=0; // Print endinaness diff -r a6615e7bc710 -r 06d7ef3c7b01 libaf/af_format.h --- a/libaf/af_format.h Sat Jan 18 17:31:22 2003 +0000 +++ b/libaf/af_format.h Sat Jan 18 17:31:58 2003 +0000 @@ -30,3 +30,6 @@ #define AF_FORMAT_AC3 (4<<3) // Dolby Digital AC3 #define AF_FORMAT_IMA_ADPCM AF_FORMAT_LE|AF_FORMAT_SI // Same as 16 bit signed int #define AF_FORMAT_SPECIAL_MASK (7<<3) + +extern char* fmt2str(int format, char* str, size_t size); +