mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-29 03:32:42 +00:00
update_gain_settings -> set_gain_settings in musikdroid
This commit is contained in:
parent
3b6ab78ba5
commit
3729aff107
@ -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");
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user