summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
commit4e8199b572f2035b7749cba276ece3a26630d23e (patch)
treef09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound
parentAdding upstream version 1.66.0+dfsg1. (diff)
downloadrustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz
rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs852
1 files changed, 426 insertions, 426 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs b/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs
index 7201bdb25..285325234 100644
--- a/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/Media/Audio/DirectSound/mod.rs
@@ -1,4 +1,4 @@
-#[link(name = "windows")]
+#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub fn DirectSoundCaptureCreate(pcguiddevice: *const ::windows_sys::core::GUID, ppdsc: *mut IDirectSoundCapture, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT;
@@ -26,6 +26,28 @@ extern "system" {
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub fn GetDeviceID(pguidsrc: *const ::windows_sys::core::GUID, pguiddest: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
}
+pub type IDirectSound = *mut ::core::ffi::c_void;
+pub type IDirectSound3DBuffer = *mut ::core::ffi::c_void;
+pub type IDirectSound3DListener = *mut ::core::ffi::c_void;
+pub type IDirectSound8 = *mut ::core::ffi::c_void;
+pub type IDirectSoundBuffer = *mut ::core::ffi::c_void;
+pub type IDirectSoundBuffer8 = *mut ::core::ffi::c_void;
+pub type IDirectSoundCapture = *mut ::core::ffi::c_void;
+pub type IDirectSoundCaptureBuffer = *mut ::core::ffi::c_void;
+pub type IDirectSoundCaptureBuffer8 = *mut ::core::ffi::c_void;
+pub type IDirectSoundCaptureFXAec = *mut ::core::ffi::c_void;
+pub type IDirectSoundCaptureFXNoiseSuppress = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXChorus = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXCompressor = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXDistortion = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXEcho = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXFlanger = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXGargle = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXI3DL2Reverb = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXParamEq = *mut ::core::ffi::c_void;
+pub type IDirectSoundFXWavesReverb = *mut ::core::ffi::c_void;
+pub type IDirectSoundFullDuplex = *mut ::core::ffi::c_void;
+pub type IDirectSoundNotify = *mut ::core::ffi::c_void;
pub const CLSID_DirectSound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1205131590, data2: 25320, data3: 4559, data4: [147, 188, 68, 69, 83, 84, 0, 0] };
pub const CLSID_DirectSound8: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 956419135, data2: 33973, data3: 20388, data4: [186, 53, 170, 129, 114, 184, 160, 155] };
pub const CLSID_DirectSoundCapture: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2954954624, data2: 35277, data3: 4560, data4: [175, 8, 0, 160, 201, 37, 205, 22] };
@@ -36,50 +58,6 @@ pub const DIRECTSOUND_VERSION: u32 = 1792u32;
pub const DS3DALG_HRTF_FULL: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3259052864, data2: 7195, data3: 4562, data4: [148, 245, 0, 192, 79, 194, 138, 202] };
pub const DS3DALG_HRTF_LIGHT: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3259052866, data2: 7195, data3: 4562, data4: [148, 245, 0, 192, 79, 194, 138, 202] };
pub const DS3DALG_NO_VIRTUALIZATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3259052863, data2: 7195, data3: 4562, data4: [148, 245, 0, 192, 79, 194, 138, 202] };
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`*"]
-#[cfg(feature = "Win32_Graphics_Direct3D")]
-pub struct DS3DBUFFER {
- pub dwSize: u32,
- pub vPosition: super::super::super::Graphics::Direct3D::D3DVECTOR,
- pub vVelocity: super::super::super::Graphics::Direct3D::D3DVECTOR,
- pub dwInsideConeAngle: u32,
- pub dwOutsideConeAngle: u32,
- pub vConeOrientation: super::super::super::Graphics::Direct3D::D3DVECTOR,
- pub lConeOutsideVolume: i32,
- pub flMinDistance: f32,
- pub flMaxDistance: f32,
- pub dwMode: u32,
-}
-#[cfg(feature = "Win32_Graphics_Direct3D")]
-impl ::core::marker::Copy for DS3DBUFFER {}
-#[cfg(feature = "Win32_Graphics_Direct3D")]
-impl ::core::clone::Clone for DS3DBUFFER {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`*"]
-#[cfg(feature = "Win32_Graphics_Direct3D")]
-pub struct DS3DLISTENER {
- pub dwSize: u32,
- pub vPosition: super::super::super::Graphics::Direct3D::D3DVECTOR,
- pub vVelocity: super::super::super::Graphics::Direct3D::D3DVECTOR,
- pub vOrientFront: super::super::super::Graphics::Direct3D::D3DVECTOR,
- pub vOrientTop: super::super::super::Graphics::Direct3D::D3DVECTOR,
- pub flDistanceFactor: f32,
- pub flRolloffFactor: f32,
- pub flDopplerFactor: f32,
-}
-#[cfg(feature = "Win32_Graphics_Direct3D")]
-impl ::core::marker::Copy for DS3DLISTENER {}
-#[cfg(feature = "Win32_Graphics_Direct3D")]
-impl ::core::clone::Clone for DS3DLISTENER {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DS3DMODE_DISABLE: u32 = 2u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -116,21 +94,6 @@ pub const DS3D_MINCONEANGLE: u32 = 0u32;
pub const DS3D_MINDOPPLERFACTOR: f32 = 0f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DS3D_MINROLLOFFFACTOR: f32 = 0f32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSBCAPS {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwBufferBytes: u32,
- pub dwUnlockTransferRate: u32,
- pub dwPlayCpuOverhead: u32,
-}
-impl ::core::marker::Copy for DSBCAPS {}
-impl ::core::clone::Clone for DSBCAPS {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSBCAPS_CTRL3D: u32 = 16u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -195,21 +158,6 @@ pub const DSBPLAY_TERMINATEBY_PRIORITY: u64 = 32u64;
pub const DSBPLAY_TERMINATEBY_TIME: u32 = 8u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSBPN_OFFSETSTOP: u32 = 4294967295u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DSBPOSITIONNOTIFY {
- pub dwOffset: u32,
- pub hEventNotify: super::super::super::Foundation::HANDLE,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DSBPOSITIONNOTIFY {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DSBPOSITIONNOTIFY {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSBSIZE_FX_MIN: u32 = 150u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -228,75 +176,10 @@ pub const DSBSTATUS_LOOPING: u32 = 4u32;
pub const DSBSTATUS_PLAYING: u32 = 1u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSBSTATUS_TERMINATED: u32 = 32u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSBUFFERDESC {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwBufferBytes: u32,
- pub dwReserved: u32,
- pub lpwfxFormat: *mut super::WAVEFORMATEX,
- pub guid3DAlgorithm: ::windows_sys::core::GUID,
-}
-impl ::core::marker::Copy for DSBUFFERDESC {}
-impl ::core::clone::Clone for DSBUFFERDESC {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSBUFFERDESC1 {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwBufferBytes: u32,
- pub dwReserved: u32,
- pub lpwfxFormat: *mut super::WAVEFORMATEX,
-}
-impl ::core::marker::Copy for DSBUFFERDESC1 {}
-impl ::core::clone::Clone for DSBUFFERDESC1 {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSBVOLUME_MAX: u32 = 0u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSBVOLUME_MIN: i32 = -10000i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSCAPS {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwMinSecondarySampleRate: u32,
- pub dwMaxSecondarySampleRate: u32,
- pub dwPrimaryBuffers: u32,
- pub dwMaxHwMixingAllBuffers: u32,
- pub dwMaxHwMixingStaticBuffers: u32,
- pub dwMaxHwMixingStreamingBuffers: u32,
- pub dwFreeHwMixingAllBuffers: u32,
- pub dwFreeHwMixingStaticBuffers: u32,
- pub dwFreeHwMixingStreamingBuffers: u32,
- pub dwMaxHw3DAllBuffers: u32,
- pub dwMaxHw3DStaticBuffers: u32,
- pub dwMaxHw3DStreamingBuffers: u32,
- pub dwFreeHw3DAllBuffers: u32,
- pub dwFreeHw3DStaticBuffers: u32,
- pub dwFreeHw3DStreamingBuffers: u32,
- pub dwTotalHwMemBytes: u32,
- pub dwFreeHwMemBytes: u32,
- pub dwMaxContigFreeHwMemBytes: u32,
- pub dwUnlockTransferRateHwBuffers: u32,
- pub dwPlayCpuOverheadSwBuffers: u32,
- pub dwReserved1: u32,
- pub dwReserved2: u32,
-}
-impl ::core::marker::Copy for DSCAPS {}
-impl ::core::clone::Clone for DSCAPS {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCAPS_CERTIFIED: u32 = 64u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -319,20 +202,6 @@ pub const DSCAPS_SECONDARY8BIT: u32 = 1024u32;
pub const DSCAPS_SECONDARYMONO: u32 = 256u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCAPS_SECONDARYSTEREO: u32 = 512u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSCBCAPS {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwBufferBytes: u32,
- pub dwReserved: u32,
-}
-impl ::core::marker::Copy for DSCBCAPS {}
-impl ::core::clone::Clone for DSCBCAPS {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCBCAPS_CTRLFX: u32 = 512u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -345,104 +214,12 @@ pub const DSCBSTART_LOOPING: u32 = 1u32;
pub const DSCBSTATUS_CAPTURING: u32 = 1u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCBSTATUS_LOOPING: u32 = 2u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSCBUFFERDESC {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwBufferBytes: u32,
- pub dwReserved: u32,
- pub lpwfxFormat: *mut super::WAVEFORMATEX,
- pub dwFXCount: u32,
- pub lpDSCFXDesc: *mut DSCEFFECTDESC,
-}
-impl ::core::marker::Copy for DSCBUFFERDESC {}
-impl ::core::clone::Clone for DSCBUFFERDESC {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSCBUFFERDESC1 {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwBufferBytes: u32,
- pub dwReserved: u32,
- pub lpwfxFormat: *mut super::WAVEFORMATEX,
-}
-impl ::core::marker::Copy for DSCBUFFERDESC1 {}
-impl ::core::clone::Clone for DSCBUFFERDESC1 {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSCCAPS {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub dwFormats: u32,
- pub dwChannels: u32,
-}
-impl ::core::marker::Copy for DSCCAPS {}
-impl ::core::clone::Clone for DSCCAPS {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCCAPS_CERTIFIED: u32 = 64u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCCAPS_EMULDRIVER: u32 = 32u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCCAPS_MULTIPLECAPTURE: u32 = 1u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSCEFFECTDESC {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub guidDSCFXClass: ::windows_sys::core::GUID,
- pub guidDSCFXInstance: ::windows_sys::core::GUID,
- pub dwReserved1: u32,
- pub dwReserved2: u32,
-}
-impl ::core::marker::Copy for DSCEFFECTDESC {}
-impl ::core::clone::Clone for DSCEFFECTDESC {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DSCFXAec {
- pub fEnable: super::super::super::Foundation::BOOL,
- pub fNoiseFill: super::super::super::Foundation::BOOL,
- pub dwMode: u32,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DSCFXAec {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DSCFXAec {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub struct DSCFXNoiseSuppress {
- pub fEnable: super::super::super::Foundation::BOOL,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for DSCFXNoiseSuppress {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for DSCFXNoiseSuppress {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSCFXR_LOCHARDWARE: u32 = 16u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -469,21 +246,6 @@ pub const DSDEVID_DefaultCapture: ::windows_sys::core::GUID = ::windows_sys::cor
pub const DSDEVID_DefaultPlayback: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3740270592, data2: 40045, data3: 18413, data4: [170, 241, 77, 218, 143, 43, 92, 3] };
pub const DSDEVID_DefaultVoiceCapture: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3740270595, data2: 40045, data3: 18413, data4: [170, 241, 77, 218, 143, 43, 92, 3] };
pub const DSDEVID_DefaultVoicePlayback: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3740270594, data2: 40045, data3: 18413, data4: [170, 241, 77, 218, 143, 43, 92, 3] };
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSEFFECTDESC {
- pub dwSize: u32,
- pub dwFlags: u32,
- pub guidDSFXClass: ::windows_sys::core::GUID,
- pub dwReserved1: usize,
- pub dwReserved2: usize,
-}
-impl ::core::marker::Copy for DSEFFECTDESC {}
-impl ::core::clone::Clone for DSEFFECTDESC {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXCHORUS_DELAY_MAX: f32 = 20f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -546,39 +308,6 @@ pub const DSFXCOMPRESSOR_RELEASE_MIN: f32 = 50f32;
pub const DSFXCOMPRESSOR_THRESHOLD_MAX: f32 = 0f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXCOMPRESSOR_THRESHOLD_MIN: f32 = -60f32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXChorus {
- pub fWetDryMix: f32,
- pub fDepth: f32,
- pub fFeedback: f32,
- pub fFrequency: f32,
- pub lWaveform: i32,
- pub fDelay: f32,
- pub lPhase: i32,
-}
-impl ::core::marker::Copy for DSFXChorus {}
-impl ::core::clone::Clone for DSFXChorus {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXCompressor {
- pub fGain: f32,
- pub fAttack: f32,
- pub fRelease: f32,
- pub fThreshold: f32,
- pub fRatio: f32,
- pub fPredelay: f32,
-}
-impl ::core::marker::Copy for DSFXCompressor {}
-impl ::core::clone::Clone for DSFXCompressor {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXDISTORTION_EDGE_MAX: f32 = 100f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -599,21 +328,6 @@ pub const DSFXDISTORTION_POSTEQCENTERFREQUENCY_MIN: f32 = 100f32;
pub const DSFXDISTORTION_PRELOWPASSCUTOFF_MAX: f32 = 8000f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXDISTORTION_PRELOWPASSCUTOFF_MIN: f32 = 100f32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXDistortion {
- pub fGain: f32,
- pub fEdge: f32,
- pub fPostEQCenterFrequency: f32,
- pub fPostEQBandwidth: f32,
- pub fPreLowpassCutoff: f32,
-}
-impl ::core::marker::Copy for DSFXDistortion {}
-impl ::core::clone::Clone for DSFXDistortion {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXECHO_FEEDBACK_MAX: f32 = 100f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -634,21 +348,6 @@ pub const DSFXECHO_RIGHTDELAY_MIN: f32 = 1f32;
pub const DSFXECHO_WETDRYMIX_MAX: f32 = 100f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXECHO_WETDRYMIX_MIN: f32 = 0f32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXEcho {
- pub fWetDryMix: f32,
- pub fFeedback: f32,
- pub fLeftDelay: f32,
- pub fRightDelay: f32,
- pub lPanDelay: i32,
-}
-impl ::core::marker::Copy for DSFXEcho {}
-impl ::core::clone::Clone for DSFXEcho {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXFLANGER_DELAY_MAX: f32 = 4f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -687,23 +386,6 @@ pub const DSFXFLANGER_WAVE_TRIANGLE: u32 = 0u32;
pub const DSFXFLANGER_WETDRYMIX_MAX: f32 = 100f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXFLANGER_WETDRYMIX_MIN: f32 = 0f32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXFlanger {
- pub fWetDryMix: f32,
- pub fDepth: f32,
- pub fFeedback: f32,
- pub fFrequency: f32,
- pub lWaveform: i32,
- pub fDelay: f32,
- pub lPhase: i32,
-}
-impl ::core::marker::Copy for DSFXFlanger {}
-impl ::core::clone::Clone for DSFXFlanger {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXGARGLE_RATEHZ_MAX: u32 = 1000u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -712,40 +394,6 @@ pub const DSFXGARGLE_RATEHZ_MIN: u32 = 1u32;
pub const DSFXGARGLE_WAVE_SQUARE: u32 = 1u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXGARGLE_WAVE_TRIANGLE: u32 = 0u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXGargle {
- pub dwRateHz: u32,
- pub dwWaveShape: u32,
-}
-impl ::core::marker::Copy for DSFXGargle {}
-impl ::core::clone::Clone for DSFXGargle {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXI3DL2Reverb {
- pub lRoom: i32,
- pub lRoomHF: i32,
- pub flRoomRolloffFactor: f32,
- pub flDecayTime: f32,
- pub flDecayHFRatio: f32,
- pub lReflections: i32,
- pub flReflectionsDelay: f32,
- pub lReverb: i32,
- pub flReverbDelay: f32,
- pub flDiffusion: f32,
- pub flDensity: f32,
- pub flHFReference: f32,
-}
-impl ::core::marker::Copy for DSFXI3DL2Reverb {}
-impl ::core::clone::Clone for DSFXI3DL2Reverb {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXPARAMEQ_BANDWIDTH_MAX: f32 = 36f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -758,19 +406,6 @@ pub const DSFXPARAMEQ_CENTER_MIN: f32 = 80f32;
pub const DSFXPARAMEQ_GAIN_MAX: f32 = 15f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXPARAMEQ_GAIN_MIN: f32 = -15f32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXParamEq {
- pub fCenter: f32,
- pub fBandwidth: f32,
- pub fGain: f32,
-}
-impl ::core::marker::Copy for DSFXParamEq {}
-impl ::core::clone::Clone for DSFXParamEq {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXR_FAILED: i32 = 4i32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -785,20 +420,6 @@ pub const DSFXR_SENDLOOP: i32 = 6i32;
pub const DSFXR_UNALLOCATED: i32 = 3i32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFXR_UNKNOWN: i32 = 5i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub struct DSFXWavesReverb {
- pub fInGain: f32,
- pub fReverbMix: f32,
- pub fReverbTime: f32,
- pub fHighFreqRTRatio: f32,
-}
-impl ::core::marker::Copy for DSFXWavesReverb {}
-impl ::core::clone::Clone for DSFXWavesReverb {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const DSFX_I3DL2REVERB_DECAYHFRATIO_DEFAULT: f32 = 0.83f32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
@@ -1043,37 +664,416 @@ pub const GUID_DSFX_STANDARD_GARGLE: ::windows_sys::core::GUID = ::windows_sys::
pub const GUID_DSFX_STANDARD_I3DL2REVERB: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4019740273, data2: 54727, data3: 17108, data4: [186, 77, 45, 7, 62, 46, 150, 244] };
pub const GUID_DSFX_STANDARD_PARAMEQ: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 302837129, data2: 15348, data3: 16755, data4: [161, 50, 60, 180, 6, 207, 50, 49] };
pub const GUID_DSFX_WAVES_REVERB: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2281439848, data2: 39509, data3: 17248, data4: [149, 170, 0, 74, 29, 157, 226, 108] };
-pub type IDirectSound = *mut ::core::ffi::c_void;
-pub type IDirectSound3DBuffer = *mut ::core::ffi::c_void;
-pub type IDirectSound3DListener = *mut ::core::ffi::c_void;
-pub type IDirectSound8 = *mut ::core::ffi::c_void;
-pub type IDirectSoundBuffer = *mut ::core::ffi::c_void;
-pub type IDirectSoundBuffer8 = *mut ::core::ffi::c_void;
-pub type IDirectSoundCapture = *mut ::core::ffi::c_void;
-pub type IDirectSoundCaptureBuffer = *mut ::core::ffi::c_void;
-pub type IDirectSoundCaptureBuffer8 = *mut ::core::ffi::c_void;
-pub type IDirectSoundCaptureFXAec = *mut ::core::ffi::c_void;
-pub type IDirectSoundCaptureFXNoiseSuppress = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXChorus = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXCompressor = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXDistortion = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXEcho = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXFlanger = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXGargle = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXI3DL2Reverb = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXParamEq = *mut ::core::ffi::c_void;
-pub type IDirectSoundFXWavesReverb = *mut ::core::ffi::c_void;
-pub type IDirectSoundFullDuplex = *mut ::core::ffi::c_void;
-pub type IDirectSoundNotify = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const KSPROPERTY_SUPPORT_GET: u32 = 1u32;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
pub const KSPROPERTY_SUPPORT_SET: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub const _FACDS: u32 = 2168u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`*"]
+#[cfg(feature = "Win32_Graphics_Direct3D")]
+pub struct DS3DBUFFER {
+ pub dwSize: u32,
+ pub vPosition: super::super::super::Graphics::Direct3D::D3DVECTOR,
+ pub vVelocity: super::super::super::Graphics::Direct3D::D3DVECTOR,
+ pub dwInsideConeAngle: u32,
+ pub dwOutsideConeAngle: u32,
+ pub vConeOrientation: super::super::super::Graphics::Direct3D::D3DVECTOR,
+ pub lConeOutsideVolume: i32,
+ pub flMinDistance: f32,
+ pub flMaxDistance: f32,
+ pub dwMode: u32,
+}
+#[cfg(feature = "Win32_Graphics_Direct3D")]
+impl ::core::marker::Copy for DS3DBUFFER {}
+#[cfg(feature = "Win32_Graphics_Direct3D")]
+impl ::core::clone::Clone for DS3DBUFFER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`*"]
+#[cfg(feature = "Win32_Graphics_Direct3D")]
+pub struct DS3DLISTENER {
+ pub dwSize: u32,
+ pub vPosition: super::super::super::Graphics::Direct3D::D3DVECTOR,
+ pub vVelocity: super::super::super::Graphics::Direct3D::D3DVECTOR,
+ pub vOrientFront: super::super::super::Graphics::Direct3D::D3DVECTOR,
+ pub vOrientTop: super::super::super::Graphics::Direct3D::D3DVECTOR,
+ pub flDistanceFactor: f32,
+ pub flRolloffFactor: f32,
+ pub flDopplerFactor: f32,
+}
+#[cfg(feature = "Win32_Graphics_Direct3D")]
+impl ::core::marker::Copy for DS3DLISTENER {}
+#[cfg(feature = "Win32_Graphics_Direct3D")]
+impl ::core::clone::Clone for DS3DLISTENER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSBCAPS {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwBufferBytes: u32,
+ pub dwUnlockTransferRate: u32,
+ pub dwPlayCpuOverhead: u32,
+}
+impl ::core::marker::Copy for DSBCAPS {}
+impl ::core::clone::Clone for DSBCAPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DSBPOSITIONNOTIFY {
+ pub dwOffset: u32,
+ pub hEventNotify: super::super::super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DSBPOSITIONNOTIFY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DSBPOSITIONNOTIFY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSBUFFERDESC {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwBufferBytes: u32,
+ pub dwReserved: u32,
+ pub lpwfxFormat: *mut super::WAVEFORMATEX,
+ pub guid3DAlgorithm: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for DSBUFFERDESC {}
+impl ::core::clone::Clone for DSBUFFERDESC {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSBUFFERDESC1 {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwBufferBytes: u32,
+ pub dwReserved: u32,
+ pub lpwfxFormat: *mut super::WAVEFORMATEX,
+}
+impl ::core::marker::Copy for DSBUFFERDESC1 {}
+impl ::core::clone::Clone for DSBUFFERDESC1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSCAPS {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwMinSecondarySampleRate: u32,
+ pub dwMaxSecondarySampleRate: u32,
+ pub dwPrimaryBuffers: u32,
+ pub dwMaxHwMixingAllBuffers: u32,
+ pub dwMaxHwMixingStaticBuffers: u32,
+ pub dwMaxHwMixingStreamingBuffers: u32,
+ pub dwFreeHwMixingAllBuffers: u32,
+ pub dwFreeHwMixingStaticBuffers: u32,
+ pub dwFreeHwMixingStreamingBuffers: u32,
+ pub dwMaxHw3DAllBuffers: u32,
+ pub dwMaxHw3DStaticBuffers: u32,
+ pub dwMaxHw3DStreamingBuffers: u32,
+ pub dwFreeHw3DAllBuffers: u32,
+ pub dwFreeHw3DStaticBuffers: u32,
+ pub dwFreeHw3DStreamingBuffers: u32,
+ pub dwTotalHwMemBytes: u32,
+ pub dwFreeHwMemBytes: u32,
+ pub dwMaxContigFreeHwMemBytes: u32,
+ pub dwUnlockTransferRateHwBuffers: u32,
+ pub dwPlayCpuOverheadSwBuffers: u32,
+ pub dwReserved1: u32,
+ pub dwReserved2: u32,
+}
+impl ::core::marker::Copy for DSCAPS {}
+impl ::core::clone::Clone for DSCAPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSCBCAPS {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwBufferBytes: u32,
+ pub dwReserved: u32,
+}
+impl ::core::marker::Copy for DSCBCAPS {}
+impl ::core::clone::Clone for DSCBCAPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSCBUFFERDESC {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwBufferBytes: u32,
+ pub dwReserved: u32,
+ pub lpwfxFormat: *mut super::WAVEFORMATEX,
+ pub dwFXCount: u32,
+ pub lpDSCFXDesc: *mut DSCEFFECTDESC,
+}
+impl ::core::marker::Copy for DSCBUFFERDESC {}
+impl ::core::clone::Clone for DSCBUFFERDESC {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSCBUFFERDESC1 {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwBufferBytes: u32,
+ pub dwReserved: u32,
+ pub lpwfxFormat: *mut super::WAVEFORMATEX,
+}
+impl ::core::marker::Copy for DSCBUFFERDESC1 {}
+impl ::core::clone::Clone for DSCBUFFERDESC1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSCCAPS {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub dwFormats: u32,
+ pub dwChannels: u32,
+}
+impl ::core::marker::Copy for DSCCAPS {}
+impl ::core::clone::Clone for DSCCAPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSCEFFECTDESC {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub guidDSCFXClass: ::windows_sys::core::GUID,
+ pub guidDSCFXInstance: ::windows_sys::core::GUID,
+ pub dwReserved1: u32,
+ pub dwReserved2: u32,
+}
+impl ::core::marker::Copy for DSCEFFECTDESC {}
+impl ::core::clone::Clone for DSCEFFECTDESC {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DSCFXAec {
+ pub fEnable: super::super::super::Foundation::BOOL,
+ pub fNoiseFill: super::super::super::Foundation::BOOL,
+ pub dwMode: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DSCFXAec {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DSCFXAec {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DSCFXNoiseSuppress {
+ pub fEnable: super::super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DSCFXNoiseSuppress {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DSCFXNoiseSuppress {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSEFFECTDESC {
+ pub dwSize: u32,
+ pub dwFlags: u32,
+ pub guidDSFXClass: ::windows_sys::core::GUID,
+ pub dwReserved1: usize,
+ pub dwReserved2: usize,
+}
+impl ::core::marker::Copy for DSEFFECTDESC {}
+impl ::core::clone::Clone for DSEFFECTDESC {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXChorus {
+ pub fWetDryMix: f32,
+ pub fDepth: f32,
+ pub fFeedback: f32,
+ pub fFrequency: f32,
+ pub lWaveform: i32,
+ pub fDelay: f32,
+ pub lPhase: i32,
+}
+impl ::core::marker::Copy for DSFXChorus {}
+impl ::core::clone::Clone for DSFXChorus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXCompressor {
+ pub fGain: f32,
+ pub fAttack: f32,
+ pub fRelease: f32,
+ pub fThreshold: f32,
+ pub fRatio: f32,
+ pub fPredelay: f32,
+}
+impl ::core::marker::Copy for DSFXCompressor {}
+impl ::core::clone::Clone for DSFXCompressor {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXDistortion {
+ pub fGain: f32,
+ pub fEdge: f32,
+ pub fPostEQCenterFrequency: f32,
+ pub fPostEQBandwidth: f32,
+ pub fPreLowpassCutoff: f32,
+}
+impl ::core::marker::Copy for DSFXDistortion {}
+impl ::core::clone::Clone for DSFXDistortion {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXEcho {
+ pub fWetDryMix: f32,
+ pub fFeedback: f32,
+ pub fLeftDelay: f32,
+ pub fRightDelay: f32,
+ pub lPanDelay: i32,
+}
+impl ::core::marker::Copy for DSFXEcho {}
+impl ::core::clone::Clone for DSFXEcho {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXFlanger {
+ pub fWetDryMix: f32,
+ pub fDepth: f32,
+ pub fFeedback: f32,
+ pub fFrequency: f32,
+ pub lWaveform: i32,
+ pub fDelay: f32,
+ pub lPhase: i32,
+}
+impl ::core::marker::Copy for DSFXFlanger {}
+impl ::core::clone::Clone for DSFXFlanger {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXGargle {
+ pub dwRateHz: u32,
+ pub dwWaveShape: u32,
+}
+impl ::core::marker::Copy for DSFXGargle {}
+impl ::core::clone::Clone for DSFXGargle {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXI3DL2Reverb {
+ pub lRoom: i32,
+ pub lRoomHF: i32,
+ pub flRoomRolloffFactor: f32,
+ pub flDecayTime: f32,
+ pub flDecayHFRatio: f32,
+ pub lReflections: i32,
+ pub flReflectionsDelay: f32,
+ pub lReverb: i32,
+ pub flReverbDelay: f32,
+ pub flDiffusion: f32,
+ pub flDensity: f32,
+ pub flHFReference: f32,
+}
+impl ::core::marker::Copy for DSFXI3DL2Reverb {}
+impl ::core::clone::Clone for DSFXI3DL2Reverb {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXParamEq {
+ pub fCenter: f32,
+ pub fBandwidth: f32,
+ pub fGain: f32,
+}
+impl ::core::marker::Copy for DSFXParamEq {}
+impl ::core::clone::Clone for DSFXParamEq {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
+pub struct DSFXWavesReverb {
+ pub fInGain: f32,
+ pub fReverbMix: f32,
+ pub fReverbTime: f32,
+ pub fHighFreqRTRatio: f32,
+}
+impl ::core::marker::Copy for DSFXWavesReverb {}
+impl ::core::clone::Clone for DSFXWavesReverb {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type LPDSENUMCALLBACKA = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::windows_sys::core::GUID, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PCSTR, param3: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>;
#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type LPDSENUMCALLBACKW = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::windows_sys::core::GUID, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>;
-#[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"]
-pub const _FACDS: u32 = 2168u32;