Oh for crying out loud...

This commit is contained in:
Ryan C. Gordon 2006-10-28 07:49:19 +00:00
parent 39648c129d
commit 76e994db80

View File

@ -560,7 +560,7 @@ COREAUDIO_OpenDevice(_THIS, const char *devname, int iscapture)
strdesc.mBytesPerFrame * strdesc.mFramesPerPacket;
if (!prepare_audiounit(this, devname, iscapture, &strdesc)) {
COREAUDIO_CloseDevice(this); \
COREAUDIO_CloseDevice(this);
return 0; /* prepare_audiounit() will call SDL_SetError()... */
}