update_gain_settings -> set_gain_settings in musikdroid

This commit is contained in:
casey langen 2018-01-17 20:59:27 -08:00
parent 3b6ab78ba5
commit 3729aff107
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class Messages {
ListOutputDrivers("list_output_drivers"),
SetDefaultOutputDriver("set_default_output_driver"),
GetGainSettings("get_gain_settings"),
UpdateGainSettings("update_gain_settings"),
SetGainSettings("set_gain_settings"),
RunIndexer("run_indexer"),
GetTransportType("get_transport_type"),
SetTransportType("set_transport_type");

View File

@ -437,7 +437,7 @@ class RemoteDataProvider(private val service: WebSocketService) : IDataProvider
override fun updateGainSettings(replayGainMode: ReplayGainMode, preampGain: Float): Observable<Boolean> {
val message = SocketMessage.Builder
.request(Messages.Request.UpdateGainSettings)
.request(Messages.Request.SetGainSettings)
.addOption(Messages.Key.REPLAYGAIN_MODE, replayGainMode.rawValue)
.addOption(Messages.Key.PREAMP_GAIN, preampGain)
.build()