comparison src/audio/windib/SDL_dibaudio.c @ 2735:204be4fc2726

Final merge of Google Summer of Code 2008 work... Port SDL 1.3 to the Nintendo DS by Darren Alton, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2008 15:10:03 +0000
parents 866052b01ee5
children 99210400e8b9
comparison
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
105 } 105 }
106 106
107 Uint8 * 107 Uint8 *
108 WINWAVEOUT_GetDeviceBuf(_THIS) 108 WINWAVEOUT_GetDeviceBuf(_THIS)
109 { 109 {
110 return (Uint8 *) (this->hidden->wavebuf[this->hidden->next_buffer]. 110 return (Uint8 *) (this->hidden->
111 lpData); 111 wavebuf[this->hidden->next_buffer].lpData);
112 } 112 }
113 113
114 void 114 void
115 WINWAVEOUT_PlayDevice(_THIS) 115 WINWAVEOUT_PlayDevice(_THIS)
116 { 116 {
134 } 134 }
135 } 135 }
136 if (left > 0) { 136 if (left > 0) {
137 SDL_Delay(100); 137 SDL_Delay(100);
138 } 138 }
139 } 139 } while (left > 0);
140 while (left > 0);
141 } 140 }
142 141
143 void 142 void
144 WINWAVEOUT_CloseDevice(_THIS) 143 WINWAVEOUT_CloseDevice(_THIS)
145 { 144 {