diff options
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r-- | Alc/dsound.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c index bbf552df..5f3c8e3c 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -86,13 +86,13 @@ static void *DSoundLoad(void) ds_handle = LoadLibraryA("dsound.dll"); if(ds_handle == NULL) { - ERROR("Failed to load dsound.dll\n"); + ERR("Failed to load dsound.dll\n"); return NULL; } #define LOAD_FUNC(x) do { \ if((p##x = (void*)GetProcAddress((HMODULE)ds_handle, #x)) == NULL) { \ - ERROR("Could not load %s from dsound.dll\n", #x); \ + ERR("Could not load %s from dsound.dll\n", #x); \ failed = AL_TRUE; \ } \ } while(0) @@ -185,7 +185,7 @@ static ALuint DSoundProc(ALvoid *ptr) err = IDirectSoundBuffer_GetCaps(pData->DSsbuffer, &DSBCaps); if(FAILED(err)) { - ERROR("Failed to get buffer caps: 0x%lx\n", err); + ERR("Failed to get buffer caps: 0x%lx\n", err); aluHandleDisconnect(pDevice); return 1; } @@ -207,7 +207,7 @@ static ALuint DSoundProc(ALvoid *ptr) err = IDirectSoundBuffer_Play(pData->DSsbuffer, 0, 0, DSBPLAY_LOOPING); if(FAILED(err)) { - ERROR("Failed to play buffer: 0x%lx\n", err); + ERR("Failed to play buffer: 0x%lx\n", err); aluHandleDisconnect(pDevice); return 1; } @@ -248,7 +248,7 @@ static ALuint DSoundProc(ALvoid *ptr) } else { - ERROR("Buffer lock error: %#lx\n", err); + ERR("Buffer lock error: %#lx\n", err); aluHandleDisconnect(pDevice); return 1; } @@ -280,7 +280,7 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam { hr = DirectSoundEnumerateA(DSoundEnumDevices, NULL); if(FAILED(hr)) - ERROR("Error enumerating DirectSound devices (%#x)!\n", (unsigned int)hr); + ERR("Error enumerating DirectSound devices (%#x)!\n", (unsigned int)hr); } for(i = 0;i < NumDevices;i++) @@ -313,7 +313,7 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam if(pData->lpDS) IDirectSound_Release(pData->lpDS); free(pData); - ERROR("Device init failed: 0x%08lx\n", hr); + ERR("Device init failed: 0x%08lx\n", hr); return ALC_FALSE; } @@ -372,7 +372,7 @@ static ALCboolean DSoundResetPlayback(ALCdevice *device) else if(speakers == DSSPEAKER_7POINT1) device->FmtChans = DevFmtX71; else - ERROR("Unknown system speaker config: 0x%lx\n", speakers); + ERR("Unknown system speaker config: 0x%lx\n", speakers); } switch(device->FmtChans) @@ -605,7 +605,7 @@ void alcDSoundProbe(enum DevProbe type) hr = DirectSoundEnumerateA(DSoundEnumDevices, NULL); if(FAILED(hr)) - ERROR("Error enumerating DirectSound devices (%#x)!\n", (unsigned int)hr); + ERR("Error enumerating DirectSound devices (%#x)!\n", (unsigned int)hr); else { for(i = 0;i < NumDevices;i++) |