Skip to content

Commit

Permalink
Fix param name
Browse files Browse the repository at this point in the history
  • Loading branch information
moodeaudio committed Nov 8, 2021
1 parent 0a01a47 commit 09cc299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/inc/autocfg.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function getDbParams($dbtable, $values, $prefix = '') {
'ALSA',
['requires' => ['alsa_output_mode'], 'handler' => setPlayerSession],
['requires' => ['alsa_loopback'], 'handler' => function($values) {
playerSession('write', 'i2sdevice', $values['alsa_loopback']);
playerSession('write', 'alsa_loopback', $values['alsa_loopback']);
$values['alsa_loopback'] == 'On' ? sysCmd("sed -i '0,/_audioout__ {/s//_audioout {/' /etc/alsa/conf.d/_sndaloop.conf") :
sysCmd("sed -i '0,/_audioout {/s//_audioout__ {/' /etc/alsa/conf.d/_sndaloop.conf");
}],
Expand Down

0 comments on commit 09cc299

Please sign in to comment.