Home
last modified time | relevance | path

Searched refs:mainloop_api (Results 1 – 9 of 9) sorted by relevance

/third_party/pulseaudio/src/tests/
Dextended-test.c41 static pa_mainloop_api *mainloop_api = NULL; variable
65 mainloop_api->quit(mainloop_api, 0); in underflow_cb()
148 mainloop_api->quit(mainloop_api, 0); in context_state_callback()
172 mainloop_api = pa_mainloop_get_api(m); in START_TEST()
174 context = pa_context_new(mainloop_api, bname); in START_TEST()
Dsync-playback.c41 static pa_mainloop_api *mainloop_api = NULL; variable
71 mainloop_api->quit(mainloop_api, 0); in underflow_cb()
145 mainloop_api->quit(mainloop_api, 0); in context_state_callback()
169 mainloop_api = pa_mainloop_get_api(m); in START_TEST()
171 context = pa_context_new(mainloop_api, bname); in START_TEST()
Dpassthrough-test.c48 static pa_mainloop_api *mainloop_api = NULL; variable
70 mainloop_api->quit(mainloop_api, 0); in context_state_callback()
75 mainloop_api->quit(mainloop_api, 0); in context_state_callback()
128 mainloop_api = pa_threaded_mainloop_get_api(mainloop); in passthrough_setup()
134 context = pa_context_new(mainloop_api, bname); in passthrough_setup()
Dinterpol-test.c43 static pa_mainloop_api *mainloop_api = NULL; variable
163 mainloop_api = pa_threaded_mainloop_get_api(m); in START_TEST()
164 fail_unless(mainloop_api != NULL); in START_TEST()
165 context = pa_context_new(mainloop_api, bname); in START_TEST()
/third_party/pulseaudio/src/utils/
Dpasuspender.c47 static pa_mainloop_api *mainloop_api = NULL; variable
56 pa_assert(mainloop_api); in quit()
57 mainloop_api->quit(mainloop_api, ret); in quit()
300 pa_assert_se(mainloop_api = pa_mainloop_get_api(m)); in main()
301 pa_assert_se(pa_signal_init(mainloop_api) == 0); in main()
308 if (!(context = pa_context_new(mainloop_api, bn))) { in main()
Dpacat.c57 static pa_mainloop_api *mainloop_api = NULL; variable
120 pa_assert(mainloop_api); in quit()
121 mainloop_api->quit(mainloop_api, ret); in quit()
182 mainloop_api->io_enable(stdio_event, PA_IO_EVENT_INPUT); in stream_write_callback()
238 mainloop_api->io_enable(stdio_event, PA_IO_EVENT_OUTPUT); in stream_read_callback()
530 pa_assert(a == mainloop_api); in stdin_callback()
538 mainloop_api->io_enable(stdio_event, PA_IO_EVENT_NULL); in stdin_callback()
566 mainloop_api->io_free(stdio_event); in stdin_callback()
593 pa_assert(a == mainloop_api); in stdout_callback()
598 mainloop_api->io_enable(stdio_event, PA_IO_EVENT_NULL); in stdout_callback()
[all …]
Dpactl.c47 static pa_mainloop_api *mainloop_api = NULL; variable
137 pa_assert(mainloop_api); in quit()
138 mainloop_api->quit(mainloop_api, ret); in quit()
2112 mainloop_api = pa_mainloop_get_api(m); in main()
2114 pa_assert_se(pa_signal_init(mainloop_api) == 0); in main()
2119 if (!(context = pa_context_new_with_proplist(mainloop_api, NULL, proplist))) { in main()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/pulseaudio/
DSDL_pulseaudio.c289 pa_mainloop_api *mainloop_api = NULL; in ConnectToPulseServer_Internal() local
302 mainloop_api = PULSEAUDIO_pa_mainloop_get_api(mainloop); in ConnectToPulseServer_Internal()
303 SDL_assert(mainloop_api); /* this never fails, right? */ in ConnectToPulseServer_Internal()
305 context = PULSEAUDIO_pa_context_new(mainloop_api, getAppName()); in ConnectToPulseServer_Internal()
/third_party/ffmpeg/libavdevice/
Dpulse_audio_enc.c449 pa_mainloop_api *mainloop_api; in pulse_write_header() local
531 mainloop_api = pa_threaded_mainloop_get_api(s->mainloop); in pulse_write_header()
532 if (!mainloop_api) { in pulse_write_header()
538 s->ctx = pa_context_new(mainloop_api, s->name); in pulse_write_header()