diff options
author | Chris Robinson <[email protected]> | 2009-10-07 04:32:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-07 04:32:14 -0700 |
commit | d6e439244ae00a1750f0dc8b249f47efb4967a23 (patch) | |
tree | 1be001719e7c57ccab24b2645eaa73f431eb1760 /Alc/winmm.c | |
parent | 5ff225fa1ba2827ef32884b5890bcfb35168527a (diff) |
Rename SetALCError for consistency
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r-- | Alc/winmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c index 5ecf471f..bf3c1887 100644 --- a/Alc/winmm.c +++ b/Alc/winmm.c @@ -202,7 +202,7 @@ static ALCboolean WinMMOpenCapture(ALCdevice *pDevice, const ALCchar *deviceName pData = calloc(1, sizeof(*pData)); if(!pData) { - SetALCError(ALC_OUT_OF_MEMORY); + alcSetError(ALC_OUT_OF_MEMORY); return ALC_FALSE; } @@ -373,7 +373,7 @@ static void WinMMCaptureSamples(ALCdevice *pDevice, ALCvoid *pBuffer, ALCuint lS frameSize; if(ulSamples > ulCapturedSamples) { - SetALCError(ALC_INVALID_VALUE); + alcSetError(ALC_INVALID_VALUE); return; } |