Lines Matching defs:this
16 License along with this library; if not, write to the Free Software
218 SDL_AudioDevice *this;
221 this = (SDL_AudioDevice *)malloc(sizeof(SDL_AudioDevice));
222 if ( this ) {
223 SDL_memset(this, 0, (sizeof *this));
224 this->hidden = (struct SDL_PrivateAudioData *)
225 SDL_malloc((sizeof *this->hidden));
227 if ( (this == NULL) || (this->hidden == NULL) ) {
229 if ( this ) {
230 SDL_free(this);
234 SDL_memset(this->hidden, 0, (sizeof *this->hidden));
237 this->OpenAudio = NDS_OpenAudio;
238 this->WaitAudio = NDS_WaitAudio;
239 this->PlayAudio = NDS_PlayAudio;
240 this->GetAudioBuf = NDS_GetAudioBuf;
241 this->CloseAudio = NDS_CloseAudio;
243 this->free = Audio_DeleteDevice;
245 return this;
262 if (this->paused)
269 return NULL;//(this->hidden->mixbuf);
274 /* if ( this->hidden->mixbuf != NULL ) {
275 SDL_FreeAudioMem(this->hidden->mixbuf);
276 this->hidden->mixbuf = NULL;
311 //this->hidden->mixlen = spec->size;
312 //this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen);
313 //if ( this->hidden->mixbuf == NULL ) {
319 sdl_nds_audiodevice=this;