Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/audio/windx5/SDL_dx5audio.c Thu Aug 21 12:38:21 2008 +0000 +++ b/src/audio/windx5/SDL_dx5audio.c Wed Aug 27 04:23:38 2008 +0000 @@ -278,8 +278,9 @@ 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);