Module: wine Branch: master Commit: 8145f97efd529d9f5163a35e2ed2d00aaf75a41e URL: http://source.winehq.org/git/wine.git/?a=commit;h=8145f97efd529d9f5163a35e2e...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Mon Feb 5 21:22:42 2007 +0000
winemp3.acm: Remove unused functions.
---
dlls/winemp3.acm/mpegl3.c | 32 -------------------------------- 1 files changed, 0 insertions(+), 32 deletions(-)
diff --git a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c index d9390ae..4c639e5 100644 --- a/dlls/winemp3.acm/mpegl3.c +++ b/dlls/winemp3.acm/mpegl3.c @@ -121,27 +121,6 @@ static DWORD MPEG3_GetFormatIndex(LPWAVE return 0xFFFFFFFF; }
-/*********************************************************************** - * R16 - * - * Read a 16 bit sample (correctly handles endianess) - */ -static inline short R16(const unsigned char* src) -{ - return (short)((unsigned short)src[0] | ((unsigned short)src[1] << 8)); -} - -/*********************************************************************** - * W16 - * - * Write a 16 bit sample (correctly handles endianess) - */ -static inline void W16(unsigned char* dst, short s) -{ - dst[0] = LOBYTE(s); - dst[1] = HIBYTE(s); -} - static DWORD get_num_buffered_bytes(struct mpstr *mp) { DWORD numBuff = 0; @@ -461,17 +440,6 @@ static LRESULT MPEG3_StreamClose(PACMDRV }
/*********************************************************************** - * MPEG3_round - * - */ -static inline DWORD MPEG3_round(DWORD a, DWORD b, DWORD c) -{ - assert(a && b && c); - /* to be sure, always return an entire number of c... */ - return ((double)a * (double)b + (double)c - 1) / (double)c; -} - -/*********************************************************************** * MPEG3_StreamSize * */