#[repr(C)]
pub struct IXAudio2Extension(_);
Expand description

[microsoft.com] Extends IXAudio2 with additional 2.9+ specific functionality.

Use IXAudio2::QueryInterface to obtain a pointer to this interface.

Implementations

[microsoft.com] Returns the processing quantum quantumMilliseconds = (1000.0f * quantumNumerator / quantumDenominator)

Arguments
  • quantumNumerator - Quantum numerator
  • quantumDenominator - Quantum denominator

[microsoft.com] Returns the number of the processor used by XAudio2

Arguments
  • processor - Non-zero Processor number

Methods from Deref<Target = IUnknown>

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

[microsoft.com] Returns the processing quantum as a ratio of seconds (e.g. (1, 100) = 10ms) Read more

[microsoft.com] Returns the xaudio2::Processor used by XAudio2. Read more

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.