summaryrefslogtreecommitdiff
path: root/sys/src/9/port/devaudio.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-09-29 15:44:26 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-09-29 15:44:26 +0200
commitda2d0ee780c1542b2cbcb1f7dbd808c59356ae46 (patch)
tree17869c207c7f7b83862407a30c83dc1b61d239df /sys/src/9/port/devaudio.c
parent82362507f758da7cd9e31eb4b5befbb76535a596 (diff)
audiohda: allow manual pin routing, more verbose audiostat, initial mute of al widgets
the automatic routing from jack to dac/adc sometimes gets us a path thats not audible. manually specifying a route path gets us arround these. the syntax is just a comma separated list of node ids in the "pin" and "inpin" audioctl commands instead of a single pin node id. to find alternative paths, audiostat now lists all the widgets; not just the pins; and ther input connections. initially mute all pins and amps of all function groups. connectpath() and disconnectpath() will mute and unmute the widgets as required later.
Diffstat (limited to 'sys/src/9/port/devaudio.c')
-rw-r--r--sys/src/9/port/devaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devaudio.c b/sys/src/9/port/devaudio.c
index 5c6fc5732..bb25df736 100644
--- a/sys/src/9/port/devaudio.c
+++ b/sys/src/9/port/devaudio.c
@@ -24,7 +24,7 @@ struct Audiochan
Audio *adev;
char *data;
- char buf[1024+1];
+ char buf[4000+1];
};
enum {