70 TRACE(
"(%p, %d)\n", has, fdwClose);
73 WARN(
"invalid handle\n");
96 TRACE(
"(%p, %p, %d)\n", has, pash, fdwConvert);
99 WARN(
"invalid handle\n");
103 WARN(
"invalid parameter\n");
107 WARN(
"unprepared header\n");
121 WARN(
"invalid parameter\n");
141 FIXME(
"(%p, %u, %ld, %ld): stub\n", has, uMsg, lParam1, lParam2);
161 TRACE(
"(%p, %p, %p, %p, %p, %ld, %ld, %d)\n",
162 phas, had, pwfxSrc, pwfxDst, pwfltr, dwCallback, dwInstance, fdwOpen);
180 TRACE(
"src [wFormatTag=%u, nChannels=%u, nSamplesPerSec=%u, nAvgBytesPerSec=%u, nBlockAlign=%u, wBitsPerSample=%u, cbSize=%u]\n",
184 TRACE(
"dst [wFormatTag=%u, nChannels=%u, nSamplesPerSec=%u, nAvgBytesPerSec=%u, nBlockAlign=%u, wBitsPerSample=%u, cbSize=%u]\n",
195 WARN(
"invalid parameter\n");
283 *phas = (HACMSTREAM)was;
306 TRACE(
"(%p, %p, %d)\n", has, pash, fdwPrepare);
309 WARN(
"invalid handle\n");
313 WARN(
"invalid parameter\n");
317 WARN(
"invalid use of reserved parameter\n");
323 WARN(
"source smaller than block align (%d < %d)\n",
348 padsh->
fdwStatus &= ~ACMSTREAMHEADER_STATUSF_INQUEUE;
376 TRACE(
"(%p, %d)\n", has, fdwReset);
379 WARN(
"invalid flag\n");
382 WARN(
"invalid handle\n");
401 TRACE(
"(%p, %d, %p, %d)\n", has, cbInput, pdwOutputBytes, fdwSize);
404 WARN(
"invalid handle\n");
408 WARN(
"invalid flag\n");
412 *pdwOutputBytes = 0
L;
424 WARN(
"invalid flag\n");
442 TRACE(
"=> (%d) [%u]\n",
ret, *pdwOutputBytes);
456 TRACE(
"(%p, %p, %d)\n", has, pash, fdwUnprepare);
459 WARN(
"invalid handle\n");
463 WARN(
"invalid parameter\n");
467 WARN(
"unprepared header\n");
478 WARN(
"invalid parameter\n");
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define WAVE_FORMAT_ADPCM
#define ERROR_CALL_NOT_IMPLEMENTED
#define HeapFree(x, y, z)
MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpen)
MMRESULT WINAPI acmDriverClose(HACMDRIVER had, DWORD fdwClose)
BOOL MSACM_FindFormatTagInCache(const WINE_ACMDRIVERID *padid, DWORD fmtTag, LPDWORD idx)
MMRESULT MSACM_Message(HACMDRIVER had, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver)
PWINE_ACMDRIVERID MSACM_pFirstACMDriverID
MMRESULT WINAPI acmStreamClose(HACMSTREAM has, DWORD fdwClose)
MMRESULT WINAPI acmStreamPrepareHeader(HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwPrepare)
MMRESULT WINAPI acmStreamConvert(HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwConvert)
MMRESULT WINAPI acmStreamSize(HACMSTREAM has, DWORD cbInput, LPDWORD pdwOutputBytes, DWORD fdwSize)
static BOOL ACM_ValidatePointers(PACMDRVSTREAMHEADER padsh)
MMRESULT WINAPI acmStreamMessage(HACMSTREAM has, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
static PWINE_ACMSTREAM ACM_GetStream(HACMSTREAM has)
MMRESULT WINAPI acmStreamUnprepareHeader(HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare)
MMRESULT WINAPI acmStreamOpen(PHACMSTREAM phas, HACMDRIVER had, PWAVEFORMATEX pwfxSrc, PWAVEFORMATEX pwfxDst, PWAVEFILTER pwfltr, DWORD_PTR dwCallback, DWORD_PTR dwInstance, DWORD fdwOpen)
MMRESULT WINAPI acmStreamReset(HACMSTREAM has, DWORD fdwReset)
#define memcpy(s1, s2, n)
struct _WAVEFORMATEX * PWAVEFORMATEX
struct _WAVEFILTER * PWAVEFILTER
#define MMSYSERR_NOTSUPPORTED
#define MMSYSERR_INVALHANDLE
#define MMSYSERR_INVALPARAM
#define MMSYSERR_INVALFLAG
#define ACM_STREAMOPENF_QUERY
#define ACM_STREAMOPENF_ASYNC
#define ACMSTREAMHEADER_STATUSF_PREPARED
#define ACMSTREAMHEADER_STATUSF_INQUEUE
#define ACM_STREAMSIZEF_QUERYMASK
#define ACMERR_UNPREPARED
#define ACMERR_NOTPOSSIBLE
#define ACMSTREAMHEADER_STATUSF_DONE
#define ACMDRIVERDETAILS_SUPPORTF_DISABLED
#define ACM_STREAMSIZEF_SOURCE
#define ACM_STREAMSIZEF_DESTINATION
#define ACMDM_STREAM_PREPARE
#define ACMDM_STREAM_CLOSE
#define ACMDM_STREAM_CONVERT
#define ACMDM_STREAM_SIZE
struct _ACMDRVSTREAMHEADER * PACMDRVSTREAMHEADER
#define ACMDM_STREAM_UNPREPARE
#define ACMDM_STREAM_OPEN
#define ACMDM_STREAM_RESET
PWINE_ACMDRIVERID pNextACMDriverID
PWINE_ACMDRIVERID pACMDriverID
ACMDRVSTREAMINSTANCE drvInst
#define WINE_ACMOBJ_STREAM