Skip to content

Commit 674f22a

Browse files
tormodvoldenperexg
authored andcommitted
alsahcontrol.c: Actually set IEC958 values with
Value.set_tuple() The IEC958 structure was prepared, but not actually written. Closes: #14 Signed-off-by: Tormod Volden <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
1 parent e287df6 commit 674f22a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyalsa/alsahcontrol.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,7 @@ pyalsahcontrolvalue_settuple(struct pyalsahcontrolvalue *self, PyObject *args)
12031203
len = (Py_ssize_t)sizeof(iec958->dig_subframe);
12041204
str = PyBytes_AsString(v);
12051205
memcpy(iec958->dig_subframe, str, (size_t)len);
1206+
snd_ctl_elem_value_set_iec958(self->value, iec958);
12061207
free(iec958);
12071208
break;
12081209
err1:

0 commit comments

Comments
 (0)