Struct libpulse_binding::context::introspect::Introspector[][src]

pub struct Introspector { /* fields omitted */ }

A wrapper object providing introspection routines to a context.

Methods

impl Introspector
[src]

Get information about a sink by its name.

Returns None on error, i.e. invalid arguments or state.

Get information about a sink by its index.

Returns None on error, i.e. invalid arguments or state.

Get the complete sink list.

Returns None on error, i.e. invalid arguments or state.

Set the volume of a sink device specified by its index.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a sink device specified by its name.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a sink device specified by its index.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a sink device specified by its name.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a sink.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a sink.

If index is ::def::INVALID_INDEX all sinks will be suspended. Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a sink.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a sink.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

impl Introspector
[src]

Get information about a source by its name.

Returns None on error, i.e. invalid arguments or state.

Get information about a source by its index.

Returns None on error, i.e. invalid arguments or state.

Get the complete source list.

Returns None on error, i.e. invalid arguments or state.

Set the volume of a source device specified by its index.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a source device specified by its name.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a source device specified by its index.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a source device specified by its name.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a source.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a source.

If index is ::def::INVALID_INDEX, all sources will be suspended. Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a source.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a source.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

impl Introspector
[src]

Get some information about the server.

Returns None on error, i.e. invalid arguments or state.

impl Introspector
[src]

Get some information about a module by its index.

Returns None on error, i.e. invalid arguments or state.

Get the complete list of currently loaded modules.

Returns None on error, i.e. invalid arguments or state.

Load a module.

Returns None on error, i.e. invalid arguments or state. The callback is provided with the index.

Unload a module.

Returns None on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

impl Introspector
[src]

Get information about a client by its index.

Returns None on error, i.e. invalid arguments or state.

Get the complete client list.

Returns None on error, i.e. invalid arguments or state.

Kill a client.

Returns None on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

impl Introspector
[src]

Get information about a card by its index.

Returns None on error, i.e. invalid arguments or state.

Get information about a card by its name.

Returns None on error, i.e. invalid arguments or state.

Get the complete card list.

Returns None on error, i.e. invalid arguments or state.

Change the profile of a card.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a card.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the latency offset of a port.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

impl Introspector
[src]

Get some information about a sink input by its index.

Returns None on error, i.e. invalid arguments or state.

Get the complete sink input list.

Returns None on error, i.e. invalid arguments or state.

Move the specified sink input to a different sink.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Move the specified sink input to a different sink.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a sink input stream.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a sink input stream.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Kill a sink input.

Returns None on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

impl Introspector
[src]

Get information about a source output by its index.

Returns None on error, i.e. invalid arguments or state.

Get the complete list of source outputs.

Returns None on error, i.e. invalid arguments or state.

Move the specified source output to a different source.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Move the specified source output to a different source.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a source output stream.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a source output stream.

Returns None on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Kill a source output.

Returns None on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

impl Introspector
[src]

Get daemon memory block statistics.

Returns None on error, i.e. invalid arguments or state.

impl Introspector
[src]

Get information about a sample by its name.

Returns None on error, i.e. invalid arguments or state.

Get information about a sample by its index.

Returns None on error, i.e. invalid arguments or state.

Get the complete list of samples stored in the daemon.

Returns None on error, i.e. invalid arguments or state.

Trait Implementations

impl Drop for Introspector
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Introspector

impl !Sync for Introspector