Class LinuxPlayer
- Namespace
- Alis.Core.Audio.Players
- Assembly
- Alis.dll
The linux player class
internal class LinuxPlayer : UnixPlayerBase, IPlayer
Inheritance
Implements
Inherited Members
Methods
GetBashCommand(string)
Gets the bash command using the specified file name
internal override string GetBashCommand(string fileName)
Parameters
fileName
string-
The file name
Returns
- string
-
The string
SetVolume(byte)
Sets the volume using the specified percent
public override Task SetVolume(byte percent)
Parameters
percent
byte-
The percent
Returns
Exceptions
- ArgumentOutOfRangeException
-
Percent can't exceed 100