2019-08-16 08:26:11 +02:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2019-08-16 08:26:11 +02:00
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
2019-09-06 09:39:28 +02:00
|
|
|
|
namespace SafeExamBrowser.Settings.SystemComponents
|
2019-08-16 08:26:11 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2019-09-10 11:53:30 +02:00
|
|
|
|
/// Defines all settings for the audio device of the computer.
|
2019-08-16 08:26:11 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class AudioSettings
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines whether the audio volume should be initialized to the value of <see cref="InitialVolume"/> during application startup.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool InitializeVolume { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines the initial audio volume (from 0 to 100) to be used if <see cref="InitializeVolume"/> is active.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int InitialVolume { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines whether the audio device should be muted during application startup.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool MuteAudio { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|