terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
AudioSampleProvider.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Diagnostics
;
3
using
System.Runtime.CompilerServices
;
4
using
UnityEngine.Bindings
;
5
using
UnityEngine.Scripting
;
6
7
namespace
UnityEngine.Experimental.Audio
8
{
9
// Token: 0x02000011 RID: 17
10
[
StaticAccessor
(
"AudioSampleProviderBindings"
,
StaticAccessorType
.DoubleColon)]
11
[
NativeType
(Header =
"Modules/Audio/Public/ScriptBindings/AudioSampleProvider.bindings.h"
)]
12
public
class
AudioSampleProvider
13
{
14
// Token: 0x0600002B RID: 43 RVA: 0x00002498 File Offset: 0x00000698
15
[
RequiredByNativeCode
]
16
private
void
InvokeSampleFramesAvailable
(
int
sampleFrameCount
)
17
{
18
AudioSampleProvider.SampleFramesHandler
sampleFramesHandler
= this.
sampleFramesAvailable
;
19
if
(sampleFramesHandler !=
null
)
20
{
21
IntPtr
invoke_impl =
sampleFramesHandler
.invoke_impl;
22
IntPtr
method_code =
sampleFramesHandler
.method_code;
23
IntPtr
method =
sampleFramesHandler
.method;
24
return
;
25
}
26
}
27
28
// Token: 0x0600002C RID: 44 RVA: 0x000024C8 File Offset: 0x000006C8
29
[
RequiredByNativeCode
]
30
private
void
InvokeSampleFramesOverflow
(
int
droppedSampleFrameCount
)
31
{
32
AudioSampleProvider.SampleFramesHandler
sampleFramesHandler
= this.
sampleFramesOverflow
;
33
if
(sampleFramesHandler !=
null
)
34
{
35
IntPtr
invoke_impl =
sampleFramesHandler
.invoke_impl;
36
IntPtr
method_code =
sampleFramesHandler
.method_code;
37
IntPtr
method =
sampleFramesHandler
.method;
38
return
;
39
}
40
}
41
42
// Token: 0x0400000C RID: 12
43
[
CompilerGenerated
]
44
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
45
private
AudioSampleProvider.SampleFramesHandler
sampleFramesAvailable
;
46
47
// Token: 0x0400000D RID: 13
48
[
DebuggerBrowsable
(
DebuggerBrowsableState
.Never)]
49
[
CompilerGenerated
]
50
private
AudioSampleProvider.SampleFramesHandler
sampleFramesOverflow
;
51
52
// Token: 0x02000012 RID: 18
53
public
sealed
class
SampleFramesHandler
:
MulticastDelegate
54
{
55
// Token: 0x0600002D RID: 45 RVA: 0x000024F8 File Offset: 0x000006F8
56
public
SampleFramesHandler
(
object
@
object
,
IntPtr
method
)
57
{
58
this.method_ptr
=
method
;
59
this.m_target
= @object;
60
this.method
=
method
;
61
this.method_code
=
this
;
62
}
63
64
// Token: 0x0600002E RID: 46 RVA: 0x00002558 File Offset: 0x00000758
65
public
void
Invoke
(
AudioSampleProvider
provider, uint
sampleFrameCount
)
66
{
67
IntPtr
method_code
= this.
method_code
;
68
IntPtr
invoke_impl
= this.
invoke_impl
;
69
IntPtr
method
= this.
method
;
70
}
71
}
72
}
73
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Delegate.method_code
IntPtr method_code
Definition
Delegate.cs:386
System.Delegate.method
IntPtr method
Definition
Delegate.cs:377
System.Delegate.invoke_impl
IntPtr invoke_impl
Definition
Delegate.cs:371
System.MulticastDelegate
Definition
MulticastDelegate.cs:13
UnityEngine.Experimental.Audio.AudioSampleProvider.SampleFramesHandler.SampleFramesHandler
SampleFramesHandler(object @object, IntPtr method)
Definition
AudioSampleProvider.cs:56
UnityEngine.Experimental.Audio.AudioSampleProvider.SampleFramesHandler.Invoke
void Invoke(AudioSampleProvider provider, uint sampleFrameCount)
Definition
AudioSampleProvider.cs:65
UnityEngine.Experimental.Audio.AudioSampleProvider.SampleFramesHandler
Definition
AudioSampleProvider.cs:54
UnityEngine.Experimental.Audio.AudioSampleProvider.InvokeSampleFramesOverflow
void InvokeSampleFramesOverflow(int droppedSampleFrameCount)
Definition
AudioSampleProvider.cs:30
UnityEngine.Experimental.Audio.AudioSampleProvider.sampleFramesAvailable
AudioSampleProvider.SampleFramesHandler sampleFramesAvailable
Definition
AudioSampleProvider.cs:45
UnityEngine.Experimental.Audio.AudioSampleProvider.sampleFramesOverflow
AudioSampleProvider.SampleFramesHandler sampleFramesOverflow
Definition
AudioSampleProvider.cs:50
UnityEngine.Experimental.Audio.AudioSampleProvider.InvokeSampleFramesAvailable
void InvokeSampleFramesAvailable(int sampleFrameCount)
Definition
AudioSampleProvider.cs:16
UnityEngine.Experimental.Audio.AudioSampleProvider
Definition
AudioSampleProvider.cs:13
System.Diagnostics.DebuggerBrowsableState
DebuggerBrowsableState
Definition
DebuggerBrowsableState.cs:9
System.Diagnostics
Definition
ConditionalAttribute.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System
Definition
__ComObject.cs:4
UnityEngine.Bindings.StaticAccessorType
StaticAccessorType
Definition
StaticAccessorType.cs:8
UnityEngine.Bindings
Definition
CodegenOptions.cs:4
UnityEngine.Experimental.Audio
Definition
AudioSampleProvider.cs:8
UnityEngine.Scripting
Definition
MovedFromAttribute.cs:4
System.IntPtr
Definition
IntPtr.cs:13
source
UnityEngine.AudioModule
UnityEngine
Experimental
Audio
AudioSampleProvider.cs
Generated by
1.10.0