Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AudioExceptions.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 using System;
4 
5 namespace SiliconStudio.Paradox.Audio
6 {
7  /// <summary>
8  /// The exception that is thrown when audio engine failed to initialized.
9  /// Most of the time is happens when no hardware is present, or when audio hardware is installed, but it is not enabled or where there is no output connected.
10  /// </summary>
12  {
14  : base("Initialization of the audio engine failed. This may be due to missing audio hardware or missing connected audio outputs.")
15  {}
16  }
17 
18  /// <summary>
19  /// The exception that is thrown when <see cref="Microphone"/> API calls are made on a disconnected microphone.
20  /// </summary>
22  {
24  : base("No microphone is currently connected.")
25  { }
26  }
27 
28  /// <summary>
29  /// The exception that is thrown when the audio device became unusable through being unplugged or some other event.
30  /// </summary>
32  {
34  : base("The audio device became unusable through being unplugged or some other event.")
35  { }
36  }
37 
38  /// <summary>
39  /// The exception that is thrown when an internal error happened in the Audio System. That is an error that is not due to the user behaviour.
40  /// </summary>
42  {
43  internal AudioSystemInternalException(string msg)
44  : base("An internal error happened in the audio system [details:'" + msg + "'")
45  { }
46  }
47 }
The exception that is thrown when an internal error happened in the Audio System. That is an error th...
The exception that is thrown when audio engine failed to initialized. Most of the time is happens whe...
The exception that is thrown when Microphone API calls are made on a disconnected microphone...
The exception that is thrown when the audio device became unusable through being unplugged or some ot...