Mercurial > audlegacy-plugins
view src/xsf/xsfdrv.h @ 3138:8e26022bb814
aac: handle premature EOF on shoutcast streams more gracefully.
in combination with the neon work, we no longer have a problem. (closes #57)
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Thu, 07 May 2009 11:14:36 -0500 |
parents | 70b0973e7b70 |
children |
line wrap: on
line source
#ifdef __cplusplus extern "C" { #endif typedef int (PASCAL * LPFNGETLIB_XSFDRV)(void *lpWork, LPSTR lpszFilename, void **ppBuffer, DWORD *pdwSize); typedef struct { void * (PASCAL * LibAlloc)(DWORD dwSize); void (PASCAL * LibFree)(void *lpPtr); int (PASCAL * Start)(void *lpPtr, DWORD dwSize); void (PASCAL * Gen)(void *lpPtr, DWORD dwSamples); void (PASCAL * Term)(void); } IXSFDRV; typedef IXSFDRV * (PASCAL * LPFNXSFDRVSETUP)(LPFNGETLIB_XSFDRV lpfn, void *lpWork); /* IXSFDRV * PASCAL XSFDRVSetup(LPFNGETLIB_XSFDRV lpfn, void *lpWork); */ #ifdef __cplusplus } #endif