-
Notifications
You must be signed in to change notification settings - Fork 273
Expand file tree
/
Copy pathWindowsMicrophoneStreamErrorCodes.cs
More file actions
86 lines (71 loc) · 2.5 KB
/
WindowsMicrophoneStreamErrorCodes.cs
File metadata and controls
86 lines (71 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.Audio
{
/// <summary>
/// The values that may be returned by <see cref="WindowsMicrophoneStream"/> methpds.
/// </summary>
public enum WindowsMicrophoneStreamErrorCode
{
/// <summary>
/// The method succeeded.
/// </summary>
Success = 0,
/// <summary>
/// The microphone stream has already been paused.
/// </summary>
AlreadyPaused = -15,
/// <summary>
/// The microphone stream has already been resumed.
/// </summary>
AlreadyResumed = -14,
/// <summary>
/// The microphone stream has already been started.
/// </summary>
AlreadyStreaming = -13,
/// <summary>
/// The microphone stream has already been stopped.
/// </summary>
NotStreaming = -12,
/// <summary>
/// The microphone is already uninitialized.
/// </summary>
NotRunning = -11,
/// <summary>
/// The microphone has already been initialized.
/// </summary>
AlreadyRunning = -10,
/// <summary>
/// A microphone does not appear to be configured on this system.
/// </summary>
NoAudioDevice,
/// <summary>
/// A microphone does not appear to be configured on this system.
/// </summary>
NoInputDevice,
/// <summary>
/// The microphone stream is currently recording.
/// </summary>
AlreadyRecording,
/// <summary>
/// A microphone is not connected or the stream has not been initialized.
/// </summary>
GraphDoesNotExist,
/// <summary>
/// The microphone appears to be misconfigured. Pleae try setting different mono/stereo options in the operating system settings.
/// </summary>
ChannelCountMismatch,
/// <summary>
/// Unable to create a file in the Music Library. Please ensure the proper permissions are configured.
/// </summary>
FileCreationPermissionError,
/// <summary>
/// The device has recently been started and has not produced enough data. Please try again at a later time.
/// </summary>
NotEnoughData,
/// <summary>
/// Unable to access the microphone. Please ensure the proper capabilies are configured.
/// </summary>
NeedMicCapabilityEnabled
}
}