forked from filoe/cscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChannelMasks.cs
41 lines (38 loc) · 1.85 KB
/
ChannelMasks.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSCore
{
/// <summary>
/// Defines common channelmasks.
/// </summary>
public static class ChannelMasks
{
/// <summary>
/// Mono.
/// </summary>
public const ChannelMask MonoMask = ChannelMask.SpeakerFrontCenter;
/// <summary>
/// Stereo.
/// </summary>
public const ChannelMask StereoMask = ChannelMask.SpeakerFrontLeft | ChannelMask.SpeakerFrontRight;
/// <summary>
/// Quadraphonic
/// </summary>
public const ChannelMask QuadraphonicMask = ChannelMask.SpeakerFrontLeft | ChannelMask.SpeakerFrontRight |
ChannelMask.SpeakerBackLeft | ChannelMask.SpeakerBackRight;
/// <summary>
/// 5.1 surround with rear speakers.
/// </summary>
public const ChannelMask FiveDotOneWithRearMask = ChannelMask.SpeakerFrontLeft | ChannelMask.SpeakerFrontRight | ChannelMask.SpeakerFrontCenter | ChannelMask.SpeakerLowFrequency | ChannelMask.SpeakerBackLeft | ChannelMask.SpeakerBackRight;
/// <summary>
/// 5.1 surround with side speakers.
/// </summary>
public const ChannelMask FiveDotOneWithSideMask = ChannelMask.SpeakerFrontLeft | ChannelMask.SpeakerFrontRight | ChannelMask.SpeakerFrontCenter | ChannelMask.SpeakerLowFrequency | ChannelMask.SpeakerSideLeft | ChannelMask.SpeakerSideRight;
/// <summary>
/// 7.1 surround.
/// </summary>
public const ChannelMask SevenDotOneMask = ChannelMask.SpeakerFrontLeft | ChannelMask.SpeakerFrontRight | ChannelMask.SpeakerFrontCenter | ChannelMask.SpeakerLowFrequency | ChannelMask.SpeakerSideLeft | ChannelMask.SpeakerSideRight | ChannelMask.SpeakerBackLeft | ChannelMask.SpeakerBackRight;
}
}