Struct libpulse_binding::context::ext_stream_restore::StreamRestore
[−]
[src]
pub struct StreamRestore {
pub context: *mut ContextInternal,
// some fields omitted
}A wrapper object providing stream restore routines to a context.
Fields
context: *mut ContextInternal
Methods
impl StreamRestore[src]
fn from_raw(context: *mut ContextInternal) -> Self[src]
Create a new DeviceManager from an existing
ContextInternal pointer.
fn from_raw_weak(context: *mut ContextInternal) -> Self[src]
Create a new DeviceManager from an existing
ContextInternal pointer. This is the 'weak' version, for
use in callbacks, which avoids destroying the internal object when dropped.
fn test(&self, cb: (TestCb, *mut c_void)) -> Option<Operation>[src]
Test if this extension module is available in the server.
fn read(&self, cb: (ReadCb, *mut c_void)) -> Option<Operation>[src]
Read all entries from the stream database.
fn write(
&self,
mode: UpdateMode,
data: &[&Info],
apply_immediately: bool,
cb: (ContextSuccessCb, *mut c_void)
) -> Option<Operation>[src]
&self,
mode: UpdateMode,
data: &[&Info],
apply_immediately: bool,
cb: (ContextSuccessCb, *mut c_void)
) -> Option<Operation>
Store entries in the stream database.
fn delete(
&self,
streams: &[&str],
cb: (ContextSuccessCb, *mut c_void)
) -> Option<Operation>[src]
&self,
streams: &[&str],
cb: (ContextSuccessCb, *mut c_void)
) -> Option<Operation>
Delete entries from the stream database.
fn subscribe(
&self,
enable: bool,
cb: (ContextSuccessCb, *mut c_void)
) -> Option<Operation>[src]
&self,
enable: bool,
cb: (ContextSuccessCb, *mut c_void)
) -> Option<Operation>
Subscribe to changes in the stream database.
fn set_subscribe_cb(&self, cb: (SubscribeCb, *mut c_void))[src]
Set the subscription callback that is called when subscribe was
called.