Reverted Bob's indent checkin
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403475
This commit is contained in:
parent
e32916c7f0
commit
d123950aa3
33 changed files with 501 additions and 659 deletions
|
@ -62,8 +62,8 @@ DARTEventFunc(ULONG ulStatus, PMCI_MIX_BUFFER pBuffer, ULONG ulFlags)
|
|||
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,10 +312,11 @@ DART_PlayDevice(_THIS)
|
|||
(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;
|
||||
|
@ -333,8 +334,8 @@ DART_GetDeviceBuf(_THIS)
|
|||
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) {
|
||||
|
|
|
@ -107,8 +107,8 @@ WINWAVEOUT_WaitDevice(_THIS)
|
|||
Uint8 *
|
||||
WINWAVEOUT_GetDeviceBuf(_THIS)
|
||||
{
|
||||
return (Uint8 *) (this->hidden->wavebuf[this->hidden->next_buffer].
|
||||
lpData);
|
||||
return (Uint8 *) (this->hidden->
|
||||
wavebuf[this->hidden->next_buffer].lpData);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -278,8 +278,9 @@ DSOUND_GetDeviceBuf(_THIS)
|
|||
IDirectSoundBuffer_Restore(this->hidden->mixbuf);
|
||||
result = IDirectSoundBuffer_Lock(this->hidden->mixbuf, cursor,
|
||||
this->hidden->mixlen,
|
||||
(LPVOID *) & this->hidden->
|
||||
locked_buf, &rawlen, NULL, &junk, 0);
|
||||
(LPVOID *) & this->
|
||||
hidden->locked_buf, &rawlen, NULL,
|
||||
&junk, 0);
|
||||
}
|
||||
if (result != DS_OK) {
|
||||
SetDSerror("DirectSound Lock", result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue