Struct xpcom::interfaces::nsIAudioDeviceInfo [] [src]

#[repr(C)]
pub struct nsIAudioDeviceInfo { /* fields omitted */ }

interface nsIAudioDeviceInfo : nsISupports

Methods

impl nsIAudioDeviceInfo
[src]

[src]

Cast this nsIAudioDeviceInfo to one of its base interfaces.

impl nsIAudioDeviceInfo
[src]

TYPE_UNKNOWN: i64 = 0

TYPE_INPUT: i64 = 1

TYPE_OUTPUT: i64 = 2

STATE_DISABLED: i64 = 0

STATE_UNPLUGGED: i64 = 1

STATE_ENABLED: i64 = 2

PREF_NONE: i64 = 0

PREF_MULTIMEDIA: i64 = 1

PREF_VOICE: i64 = 2

PREF_NOTIFICATION: i64 = 4

PREF_ALL: i64 = 15

FMT_S16LE: i64 = 16

FMT_S16BE: i64 = 32

FMT_F32LE: i64 = 4096

FMT_F32BE: i64 = 8192

[src]

readonly attribute DOMString name;

[src]

readonly attribute DOMString groupId;

[src]

readonly attribute DOMString vendor;

[src]

readonly attribute unsigned short type;

[src]

readonly attribute unsigned short state;

[src]

readonly attribute unsigned short preferred;

[src]

readonly attribute unsigned short supportedFormat;

[src]

readonly attribute unsigned short defaultFormat;

[src]

readonly attribute unsigned long maxChannels;

[src]

readonly attribute unsigned long defaultRate;

[src]

readonly attribute unsigned long maxRate;

[src]

readonly attribute unsigned long minRate;

[src]

readonly attribute unsigned long maxLatency;

[src]

readonly attribute unsigned long minLatency;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIAudioDeviceInfo
[src]

IID: nsIID = nsID(4273568168, 63692, 17698, [157, 255, 108, 5, 92, 165, 7, 98])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIAudioDeviceInfo
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIAudioDeviceInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.