pub struct DeviceEnumerator(_, _);
Expand description

Provides access to the devices available in the current Windows session.

Implementations

Creates a new device enumerator with the provided logger.

Gets all active audio outputs.

Gets the default audio output.

There are multiple default audio outputs in Windows. This function gets the device that would be used if the current application were to play music or sound effects (as opposed to VOIP audio).

Get a specific audio endpoint by its ID.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.