You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/engine/Stride.Audio/Layers/XAudio/Source.cs
+72-2Lines changed: 72 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,15 @@
1
1
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
2
2
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
3
3
#if WINDOWS
4
+
usingSystem.Runtime.InteropServices;
4
5
usingSilk.NET.XAudio;
5
6
usingStride.Audio.Layers.XAudio;
7
+
usingBuffer=Silk.NET.XAudio.Buffer;
6
8
7
9
namespaceStride.Audio;
8
10
9
11
publicsealedunsafepartialclassSource
10
12
{
11
-
publicIXAudio2VoiceCallbackvalue=new();
12
13
publicIXAudio2MasteringVoice*masteringVoice;
13
14
publicIXAudio2SourceVoice*sourceVoice;
14
15
publicX3DAudioEmitteremitter;
@@ -27,9 +28,78 @@ public sealed unsafe partial class Source
0 commit comments