Пример #1
0
 public static float GetVolume()
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamMusic_GetVolume(CSteamAPIContext.GetSteamMusic()));
 }
Пример #2
0
 /// <summary>
 /// <para> volume is between 0.0 and 1.0</para>
 /// </summary>
 public static void SetVolume(float flVolume)
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamMusic_SetVolume(CSteamAPIContext.GetSteamMusic(), flVolume);
 }
Пример #3
0
 public static AudioPlayback_Status GetPlaybackStatus()
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamMusic_GetPlaybackStatus(CSteamAPIContext.GetSteamMusic()));
 }
Пример #4
0
 public static void PlayNext()
 {
     InteropHelp.TestIfAvailableClient();
     NativeMethods.ISteamMusic_PlayNext(CSteamAPIContext.GetSteamMusic());
 }
Пример #5
0
 public static bool BIsPlaying()
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamMusic_BIsPlaying(CSteamAPIContext.GetSteamMusic()));
 }