debian_uboot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
debian_uboot [2012/02/06 09:14] – [Tips] dmix by default, per-app softvol trick paulf | debian_uboot [2012/02/13 20:54] – Moved the tips section to a dedicated page paulf | ||
---|---|---|---|
Line 73: | Line 73: | ||
</ | </ | ||
- | ===== Tips ===== | + | And then be sure to read suckless |
- | * To manage lid event i'm using https:// | + | |
- | * I added this to ~/ | + | |
- | < | + | |
- | ao=alsa | + | |
- | mixer-channel=Master | + | |
- | vo=x11 | + | |
- | zoom=1 | + | |
- | sws=0 | + | |
- | hardframedrop=1 | + | |
- | lavdopts=fast=1: | + | |
- | </ | + | |
- | * For watching youtube i use | + | |
- | < | + | |
- | #!/bin/sh | + | |
- | cookies_file=`mktemp / | + | |
- | rm $cookies_file | + | |
- | url=" | + | |
- | mplayer -cookies -cookies-file $cookies_file -cache 2048 $url | + | |
- | rm $cookies_file | + | |
- | </ | + | |
- | * To have automatic software mixing of sound streams copy this to ''/ | + | |
- | < | + | |
- | # default with dmix/ | + | |
- | tegra-alc5632.pcm.default { | + | |
- | @args | + | |
- | @args.CARD { | + | |
- | type string | + | |
- | } | + | |
- | type asym | + | |
- | playback.pcm { | + | |
- | type plug | + | |
- | slave.pcm { | + | |
- | @func concat | + | |
- | strings | + | |
- | } | + | |
- | } | + | |
- | capture.pcm { | + | |
- | type plug | + | |
- | slave.pcm { | + | |
- | @func concat | + | |
- | strings [ " | + | |
- | } | + | |
- | } | + | |
- | } | + | |
- | + | ||
- | </ | + | |
- | * To provide additional dedicated sound volume controls without PA add this to '' | + | |
- | < | + | |
- | pcm.softvol { | + | |
- | @args [ NAME ] | + | |
- | @args.NAME.type string | + | |
- | type softvol | + | |
- | slave.pcm " | + | |
- | control.name $NAME | + | |
- | } | + | |
- | </ | + | |
- | And use softvol:< | + | |
- | * [[http:// | + | |
- | * '' | + |
debian_uboot.txt · Last modified: 2016/10/24 15:59 by paulf