Example #1
0
 /// <summary>
 ///     Sets the replay gain mode. One of off, track, album, auto[5].
 ///     Changing the mode during playback may take several seconds, because the new settings does not affect the buffered
 ///     data.
 ///     This command triggers the options idle event.
 /// </summary>
 /// <param name="replayGainMode">replay gain mode</param>
 public async Task ReplayGainModeAsync(ReplayGainModes replayGainMode)
 {
     await SendCommandAsync("replay_gain_mode ", replayGainMode.ToString().ToLowerInvariant());
 }
Example #2
0
		/// <summary>
		///     Sets the replay gain mode. One of off, track, album, auto[5].
		///     Changing the mode during playback may take several seconds, because the new settings does not affect the buffered
		///     data.
		///     This command triggers the options idle event.
		/// </summary>
		/// <param name="replayGainMode">replay gain mode</param>
		public async Task ReplayGainModeAsync(ReplayGainModes replayGainMode)
		{
			await SendCommandAsync("replay_gain_mode ", replayGainMode.ToString().ToLowerInvariant());
		}