Home
last modified time | relevance | path

Searched refs:callbackspec (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/SDL2/src/audio/emscripten/
A DSDL_emscriptenaudio.c55 SDL_AudioCallback callback = this->callbackspec.callback; in HandleAudioProcess()
56 const int stream_len = this->callbackspec.size; in HandleAudioProcess()
68 callback(this->callbackspec.userdata, this->work_buffer, stream_len); in HandleAudioProcess()
72 callback(this->callbackspec.userdata, this->work_buffer, stream_len); in HandleAudioProcess()
93 SDL_AudioCallback callback = this->callbackspec.callback; in HandleCaptureProcess()
94 const int stream_len = this->callbackspec.size; in HandleCaptureProcess()
127 callback(this->callbackspec.userdata, this->work_buffer, stream_len); in HandleCaptureProcess()
137 SDL_memset(this->work_buffer, this->callbackspec.silence, stream_len); in HandleCaptureProcess()
139 … callback(this->callbackspec.userdata, this->work_buffer, stream_len); /* Send it to the app. */ in HandleCaptureProcess()
/AliOS-Things-master/components/SDL2/src/audio/nacl/
A DSDL_naclaudio.c51 SDL_AudioCallback callback = _this->callbackspec.callback; in nacl_audio_callback()
68 callback(_this->callbackspec.userdata, stream, len); in nacl_audio_callback()
71 const int stream_len = _this->callbackspec.size; in nacl_audio_callback()
73 callback(_this->callbackspec.userdata, _this->work_buffer, stream_len); in nacl_audio_callback()
/AliOS-Things-master/components/SDL2/src/audio/haiku/
A DSDL_haikuaudio.cc51 SDL_AudioCallback callback = audio->callbackspec.callback; in FillSound()
66 callback(audio->callbackspec.userdata, (Uint8 *) stream, len); in FillSound()
69 const int stream_len = audio->callbackspec.size; in FillSound()
72 callback(audio->callbackspec.userdata, audio->work_buffer, stream_len); in FillSound()
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_audio.c653 if (device->callbackspec.callback == SDL_BufferQueueDrainCallback || in SDL_GetQueuedAudioSize()
654 device->callbackspec.callback == SDL_BufferQueueFillCallback) in SDL_GetQueuedAudioSize()
688 void *udata = device->callbackspec.userdata; in SDL_RunAudio()
689 SDL_AudioCallback callback = device->callbackspec.callback; in SDL_RunAudio()
713 data_len = device->callbackspec.size; in SDL_RunAudio()
795 void *udata = device->callbackspec.userdata; in SDL_CaptureAudio()
796 SDL_AudioCallback callback = device->callbackspec.callback; in SDL_CaptureAudio()
872 if (got != device->callbackspec.size) { in SDL_CaptureAudio()
887 callback(udata, data, device->callbackspec.size); in SDL_CaptureAudio()
1394 device->callbackspec = *obtained; in open_audio_device()
[all …]
A DSDL_sysaudio.h141 SDL_AudioSpec callbackspec; member
/AliOS-Things-master/components/SDL2/src/audio/wasapi/
A DSDL_wasapi.c189 if ( (this->callbackspec.channels == this->spec.channels) && in UpdateAudioStream()
190 (this->callbackspec.format == this->spec.format) && in UpdateAudioStream()
191 (this->callbackspec.freq == this->spec.freq) && in UpdateAudioStream()
192 (this->callbackspec.samples == this->spec.samples) ) { in UpdateAudioStream()
206 this->callbackspec.format, in UpdateAudioStream()
207 this->callbackspec.channels, in UpdateAudioStream()
208 this->callbackspec.freq); in UpdateAudioStream()
210 this->stream = SDL_NewAudioStream(this->callbackspec.format, in UpdateAudioStream()
211 this->callbackspec.channels, in UpdateAudioStream()
212 this->callbackspec.freq, this->spec.format, in UpdateAudioStream()
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/
A DSDL_coreaudio.m532 (*this->callbackspec.callback)(this->callbackspec.userdata,
561 (*this->callbackspec.callback)(this->callbackspec.userdata,
612 …(*this->callbackspec.callback)(this->callbackspec.userdata, this->hidden->buffer, this->hidden->bu…

Completed in 12 milliseconds