Function
SpielSpeakernew
since: 1.0
Declaration [src]
void
spiel_speaker_new (
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously creates a SpielSpeaker.
When the operation is finished, callback will be invoked in the
thread-default main loop of the thread you are calling this method from (see
g_main_context_push_thread_default()). You can then call
spiel_speaker_new_finish() to get the result of the operation.
See spiel_speaker_new_sync() for the synchronous, blocking version of
this constructor.
Available since: 1.0
Parameters
cancellable-
Type:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied. user_data-
Type:
gpointerUser data to pass to
callback.The argument can be NULL.The data is owned by the caller of the function.