Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AudioDevice.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 
4 namespace SiliconStudio.Paradox.Audio
5 {
6  /// <summary>
7  /// Reprensent an Audio Hardware Device.
8  /// Can be used when creating an <see cref="AudioEngine"/> to specify the device on which to play the sound.
9  /// </summary>
10  internal class AudioDevice
11  {
12  /// <summary>
13  /// Returns the name of the current device.
14  /// </summary>
15  public string Name { get; internal protected set; }
16 
17  internal AudioDevice()
18  {
19  Name = "default";
20  }
21  }
22 }