Lines Matching defs:context
47 static pa_context *context = NULL;
54 /* This is called whenever the context status changes */
106 o = pa_context_unload_module(context, module_idx, success_cb, NULL);
110 pa_context_disconnect(context);
111 pa_context_unref(context);
134 context = pa_context_new(mainloop_api, bname);
135 fail_unless(context != NULL);
137 pa_context_set_state_callback(context, context_state_callback, NULL);
139 /* Connect the context */
140 r = pa_context_connect(context, NULL, 0, NULL);
145 fail_unless(pa_context_get_state(context) == PA_CONTEXT_READY);
150 o = pa_context_load_module(context, "module-null-sink", modargs, module_index_cb, NULL);
219 s = pa_stream_new_extended(context, "passthrough test", formats, 1, NULL);
285 o = pa_context_get_sink_info_by_name(context, sink_name, sink_info_cb, v);
302 o = pa_context_set_sink_volume_by_name(context, sink_name, &volume, success_cb, NULL);