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

pub struct Introspector {
    pub context: *mut ContextInternal,
    // some fields omitted
}

A wrapper object providing introspection routines to a context.

Fields

Methods

impl Introspector
[src]

[src]

Create a new Introspector from an existing ContextInternal pointer.

[src]

Create a new Introspector from an existing ContextInternal pointer. This is the 'weak' version, for use in callbacks, which avoids destroying the internal object when dropped.

impl Introspector
[src]

[src]

Get information about a sink by its name.

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

[src]

Get information about a sink by its index.

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

[src]

Get the complete sink list.

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

[src]

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

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

[src]

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

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

[src]

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

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

[src]

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

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

[src]

Suspend/Resume a sink.

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

[src]

Suspend/Resume a sink.

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

[src]

Change the profile of a sink.

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

[src]

Change the profile of a sink.

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

impl Introspector
[src]

[src]

Get information about a source by its name.

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

[src]

Get information about a source by its index.

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

[src]

Get the complete source list.

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

[src]

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

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

[src]

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

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

[src]

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

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

[src]

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

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

[src]

Suspend/Resume a source.

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

[src]

Suspend/Resume a source.

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

[src]

Change the profile of a source.

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

[src]

Change the profile of a source.

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

impl Introspector
[src]

[src]

Get some information about the server.

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

impl Introspector
[src]

[src]

Get some information about a module by its index.

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

[src]

Get the complete list of currently loaded modules.

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

[src]

Load a module.

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

[src]

Unload a module.

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

impl Introspector
[src]

[src]

Get information about a client by its index.

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

[src]

Get the complete client list.

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

[src]

Kill a client.

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

impl Introspector
[src]

[src]

Get information about a card by its index.

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

[src]

Get information about a card by its name.

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

[src]

Get the complete card list.

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

[src]

Change the profile of a card.

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

[src]

Change the profile of a card.

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

[src]

Set the latency offset of a port.

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

impl Introspector
[src]

[src]

Get some information about a sink input by its index.

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

[src]

Get the complete sink input list. Returns None on error, i.e. invalid arguments or state.

[src]

Move the specified sink input to a different sink.

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

[src]

Move the specified sink input to a different sink.

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

[src]

Set the volume of a sink input stream.

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

[src]

Set the mute switch of a sink input stream.

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

[src]

Kill a sink input.

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

impl Introspector
[src]

[src]

Get information about a source output by its index.

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

[src]

Get the complete list of source outputs.

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

[src]

Move the specified source output to a different source.

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

[src]

Move the specified source output to a different source.

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

[src]

Set the volume of a source output stream.

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

[src]

Set the mute switch of a source output stream.

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

[src]

Kill a source output.

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

impl Introspector
[src]

[src]

Get daemon memory block statistics.

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

impl Introspector
[src]

[src]

Get information about a sample by its name.

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

[src]

Get information about a sample by its index.

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

[src]

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]

[src]

Executes the destructor for this type. Read more