chore: Apply code formatting on entire codebase for consistent style
This commit is contained in:
@@ -34,19 +34,22 @@ void sdvxio_kfca_config_kfca_init(struct cconfig *config)
|
||||
config,
|
||||
SDVXIO_KFCA_CONFIG_MAIN_AMP_VOLUME_KEY,
|
||||
SDVXIO_KFCA_CONFIG_DEFAULT_MAIN_AMP_VOLUME_VALUE,
|
||||
"SDVXIO digital amp main volume (0-96) 0 is high, 96 is low. -1 is no override.");
|
||||
"SDVXIO digital amp main volume (0-96) 0 is high, 96 is low. -1 is no "
|
||||
"override.");
|
||||
|
||||
cconfig_util_set_int(
|
||||
config,
|
||||
SDVXIO_KFCA_CONFIG_HEADPHONE_AMP_VOLUME_KEY,
|
||||
SDVXIO_KFCA_CONFIG_DEFAULT_HEADPHONE_AMP_VOLUME_VALUE,
|
||||
"SDVXIO digital amp headphone volume (0-96) 0 is high, 96 is low. -1 is no override.");
|
||||
"SDVXIO digital amp headphone volume (0-96) 0 is high, 96 is low. -1 "
|
||||
"is no override.");
|
||||
|
||||
cconfig_util_set_int(
|
||||
config,
|
||||
SDVXIO_KFCA_CONFIG_SUBWOOFER_AMP_VOLUME_KEY,
|
||||
SDVXIO_KFCA_CONFIG_DEFAULT_SUBWOOFER_AMP_VOLUME_VALUE,
|
||||
"SDVXIO digital amp subwoofer volume (0-96) 0 is high, 96 is low. -1 is no override.");
|
||||
"SDVXIO digital amp subwoofer volume (0-96) 0 is high, 96 is low. -1 "
|
||||
"is no override.");
|
||||
}
|
||||
|
||||
void sdvxio_kfca_config_kfca_get(
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
#include "acio/acio.h"
|
||||
|
||||
#include "aciomgr/manager.h"
|
||||
#include "aciodrv/kfca.h"
|
||||
#include "aciomgr/manager.h"
|
||||
|
||||
#include "sdvxio-kfca/config-kfca.h"
|
||||
|
||||
@@ -137,7 +137,10 @@ bool sdvx_io_init(
|
||||
bool init_result = aciodrv_kfca_amp(
|
||||
aciomgr_port_checkout(acio_manager_ctx),
|
||||
kfca_node_id,
|
||||
primary, headphone, 0, subwoofer);
|
||||
primary,
|
||||
headphone,
|
||||
0,
|
||||
subwoofer);
|
||||
aciomgr_port_checkin(acio_manager_ctx);
|
||||
|
||||
if (!init_result) {
|
||||
@@ -244,9 +247,7 @@ uint16_t sdvx_io_get_spinner_pos(uint8_t spinner_no)
|
||||
}
|
||||
|
||||
bool sdvx_io_set_amp_volume(
|
||||
uint8_t primary,
|
||||
uint8_t headphone,
|
||||
uint8_t subwoofer)
|
||||
uint8_t primary, uint8_t headphone, uint8_t subwoofer)
|
||||
{
|
||||
if (!running) {
|
||||
return false;
|
||||
@@ -255,7 +256,10 @@ bool sdvx_io_set_amp_volume(
|
||||
bool amp_result = aciodrv_kfca_amp(
|
||||
aciomgr_port_checkout(acio_manager_ctx),
|
||||
kfca_node_id,
|
||||
primary, headphone, 96, subwoofer);
|
||||
primary,
|
||||
headphone,
|
||||
96,
|
||||
subwoofer);
|
||||
aciomgr_port_checkin(acio_manager_ctx);
|
||||
|
||||
if (!amp_result) {
|
||||
|
||||
Reference in New Issue
Block a user