#[repr(C, packed(1))]
pub struct XAUDIO2_BUFFER { pub Flags: u32, pub AudioBytes: u32, pub pAudioData: *const u8, pub PlayBegin: u32, pub PlayLength: u32, pub LoopBegin: u32, pub LoopLength: u32, pub LoopCount: u32, pub pContext: *mut c_void, }
Expand description

Required features: "Win32_Media_Audio_XAudio2"

Fields

Flags: u32AudioBytes: u32pAudioData: *const u8PlayBegin: u32PlayLength: u32LoopBegin: u32LoopLength: u32LoopCount: u32pContext: *mut c_void

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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.