pulse.scache

Undocumented in source.

Members

Aliases

pa_context_play_sample_cb_t
alias pa_context_play_sample_cb_t = void function(pa_context* c, uint idx, void* userdata)

Callback prototype for pa_context_play_sample_with_proplist(). The * idx value is the index of the sink input object, or * PA_INVALID_INDEX on failure. \since 0.9.11

Functions

pa_context_play_sample
pa_operation* pa_context_play_sample(pa_context* c, const(char)* name, const(char)* dev, pa_volume_t volume, pa_context_success_cb_t cb, void* userdata)

< Userdata to pass to the callback

pa_context_play_sample_with_proplist
pa_operation* pa_context_play_sample_with_proplist(pa_context* c, const(char)* name, const(char)* dev, pa_volume_t volume, const(pa_proplist)* proplist, pa_context_play_sample_cb_t cb, void* userdata)

< Userdata to pass to the callback

pa_context_remove_sample
pa_operation* pa_context_remove_sample(pa_context* c, const(char)* name, pa_context_success_cb_t cb, void* userdata)

Remove a sample from the sample cache. Returns an operation object which * may be used to cancel the operation while it is running.

pa_stream_connect_upload
int pa_stream_connect_upload(pa_stream* s, size_t length)

Make this stream a sample upload stream. Returns zero on success.

pa_stream_finish_upload
int pa_stream_finish_upload(pa_stream* s)

Finish the sample upload, the stream name will become the sample * name. You cancel a sample upload by issuing * pa_stream_disconnect(). Returns zero on success.

Meta