summaryrefslogtreecommitdiffstats
path: root/ucs2-vol/src/setup.cpp
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-07-25 12:28:21 +0200
committerGitHub <noreply@github.com>2017-07-25 12:28:21 +0200
commitce4eeb376e9fc3d0f3327a34dc7e4a3c0fdfc376 (patch)
treeee2d55374737ac44ea18d315f0871fff1612a358 /ucs2-vol/src/setup.cpp
parent02255317833bcb814f3efc38b65a51c12a7daa66 (diff)
parent04a9940fbcdeb1552a67cc306f2a7a1d6e8ff3eb (diff)
Merge pull request #11 from tjahnk/enable-6ch-volume
Adds volume properties for channel 3..6
Diffstat (limited to 'ucs2-vol/src/setup.cpp')
-rw-r--r--ucs2-vol/src/setup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucs2-vol/src/setup.cpp b/ucs2-vol/src/setup.cpp
index bb54f2f..53b6f8c 100644
--- a/ucs2-vol/src/setup.cpp
+++ b/ucs2-vol/src/setup.cpp
@@ -54,17 +54,17 @@ CSetup::CSetup()
_volume_amp_272_r(0x272U, DEVICE_VAL_RIGHT, LIB_MOST_VOLUME_CH_SUB),
_value_container()
{
- static CDeviceValue* value_list[3] = { &_volume_amp_270_m,
+ static CDeviceValue* value_list[9] = { &_volume_amp_270_m,
&_volume_amp_270_l,
- &_volume_amp_270_r/*,
+ &_volume_amp_270_r,
&_volume_amp_271_m,
&_volume_amp_271_l,
&_volume_amp_271_r,
&_volume_amp_272_m,
&_volume_amp_272_l,
- &_volume_amp_272_r*/};
+ &_volume_amp_272_r};
- _value_container.RegisterValues(value_list, 3U);
+ _value_container.RegisterValues(value_list, 9U);
}
CSetup::~CSetup()