Lines Matching refs:this
48 captureDevice = this; in ANDROIDAUDIO_OpenDevice()
50 audioDevice = this; in ANDROIDAUDIO_OpenDevice()
53 this->hidden = (struct SDL_PrivateAudioData *) SDL_calloc(1, (sizeof *this->hidden)); in ANDROIDAUDIO_OpenDevice()
54 if (this->hidden == NULL) { in ANDROIDAUDIO_OpenDevice()
58 test_format = SDL_FirstAudioFormat(this->spec.format); in ANDROIDAUDIO_OpenDevice()
63 this->spec.format = test_format; in ANDROIDAUDIO_OpenDevice()
74 if (Android_JNI_OpenAudioDevice(iscapture, &this->spec) < 0) { in ANDROIDAUDIO_OpenDevice()
78 SDL_CalculateAudioSpec(&this->spec); in ANDROIDAUDIO_OpenDevice()
113 Android_JNI_CloseAudioDevice(this->iscapture); in ANDROIDAUDIO_CloseDevice()
114 if (this->iscapture) { in ANDROIDAUDIO_CloseDevice()
115 SDL_assert(captureDevice == this); in ANDROIDAUDIO_CloseDevice()
118 SDL_assert(audioDevice == this); in ANDROIDAUDIO_CloseDevice()
121 SDL_free(this->hidden); in ANDROIDAUDIO_CloseDevice()