[AudioIO] Add new sample type and change maximum sample rate (#412)
[platform/core/csapi/tizenfx.git] / src / Tizen.Multimedia / AudioManager / AudioDeviceOptions.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 using System;
18
19 namespace Tizen.Multimedia
20 {
21     /// <summary>
22     /// Specifies the flags for the audio device options.
23     /// <para>
24     /// This enumeration has a <see cref="FlagsAttribute"/> attribute that allows a bitwise combination of its member values.
25     /// </para>
26     /// </summary>
27     [Flags]
28     internal enum AudioDeviceOptions
29     {
30         /// <summary>
31         /// Input devices.
32         /// </summary>
33         Input = 0x0001,
34
35         /// <summary>
36         /// Output devices.
37         /// </summary>
38         Output = 0x0002,
39
40         /// <summary>
41         /// Input and output devices (both directions are available).
42         /// </summary>
43         InputAndOutput = 0x0004,
44
45         /// <summary>
46         /// Built-in devices.
47         /// </summary>
48         Internal = 0x00010,
49
50         /// <summary>
51         /// External devices.
52         /// </summary>
53         External = 0x0020,
54
55         /// <summary>
56         /// Deactivated devices.
57         /// </summary>
58         Deactivated = 0x1000,
59
60         /// <summary>
61         /// Activated devices.
62         /// </summary>
63         Activated = 0x2000,
64
65         /// <summary>
66         /// All devices.
67         /// </summary>
68         All = 0xFFFF
69     }
70 }