Mercurial > sdl-ios-xcode
diff src/audio/dart/SDL_dart.c @ 3011:8f4ed5ec2b06
I ran a global "make indent" it modified the following files.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 09 Jan 2009 20:43:30 +0000 |
parents | 99210400e8b9 |
children | 8cc00819c8d6 |
line wrap: on
line diff
--- a/src/audio/dart/SDL_dart.c Fri Jan 09 20:41:31 2009 +0000 +++ b/src/audio/dart/SDL_dart.c Fri Jan 09 20:43:30 2009 +0000 @@ -62,8 +62,8 @@ pBufDesc->iBufferUsage = BUFFER_EMPTY; // And notify DART feeder thread that it will have to work a bit. if (pSDLAudioDevice) - DosPostEventSem(pSDLAudioDevice-> - hidden->hevAudioBufferPlayed); + DosPostEventSem(pSDLAudioDevice->hidden-> + hevAudioBufferPlayed); } } } @@ -312,11 +312,10 @@ (pMixBufferDesc) _this->hidden->pMixBuffers[iFreeBuf].ulUserParm; pBufDesc->iBufferUsage = BUFFER_USED; // Send it to DART to be queued - _this->hidden->MixSetupParms.pmixWrite(_this->hidden-> - MixSetupParms.ulMixHandle, - &(_this-> - hidden->pMixBuffers[iFreeBuf]), - 1); + _this->hidden->MixSetupParms.pmixWrite(_this->hidden->MixSetupParms. + ulMixHandle, + &(_this->hidden-> + pMixBuffers[iFreeBuf]), 1); _this->hidden->iLastPlayedBuf = iFreeBuf; iFreeBuf = (iFreeBuf + 1) % _this->hidden->iCurrNumBufs; @@ -334,8 +333,8 @@ if (_this->hidden) { iFreeBuf = _this->hidden->iNextFreeBuffer; pBufDesc = - (pMixBufferDesc) _this->hidden-> - pMixBuffers[iFreeBuf].ulUserParm; + (pMixBufferDesc) _this->hidden->pMixBuffers[iFreeBuf]. + ulUserParm; if (pBufDesc) { if (pBufDesc->iBufferUsage == BUFFER_EMPTY) {