Mercurial > sdl-ios-xcode
comparison src/audio/windx5/SDL_dx5audio.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | 866052b01ee5 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2697:c9121b04cffa | 2698:e1da92da346c |
---|---|
276 &rawlen, NULL, &junk, 0); | 276 &rawlen, NULL, &junk, 0); |
277 if (result == DSERR_BUFFERLOST) { | 277 if (result == DSERR_BUFFERLOST) { |
278 IDirectSoundBuffer_Restore(this->hidden->mixbuf); | 278 IDirectSoundBuffer_Restore(this->hidden->mixbuf); |
279 result = IDirectSoundBuffer_Lock(this->hidden->mixbuf, cursor, | 279 result = IDirectSoundBuffer_Lock(this->hidden->mixbuf, cursor, |
280 this->hidden->mixlen, | 280 this->hidden->mixlen, |
281 (LPVOID *) & this->hidden-> | 281 (LPVOID *) & this-> |
282 locked_buf, &rawlen, NULL, &junk, 0); | 282 hidden->locked_buf, &rawlen, NULL, |
283 &junk, 0); | |
283 } | 284 } |
284 if (result != DS_OK) { | 285 if (result != DS_OK) { |
285 SetDSerror("DirectSound Lock", result); | 286 SetDSerror("DirectSound Lock", result); |
286 return (NULL); | 287 return (NULL); |
287 } | 288 } |