Commit Diff


commit - 5f2aa36d959473c0b85a3e49d08be432854b369d
commit + a177ec69bf8b2150728238f48c95ceb156f5f511
blob - 91c6318d44cd29f871147c63426dbc339d6ab1c2
blob + ce5ae5f15a2c8d158e192d8de508c637384973a5
--- etc/common/mykshrc
+++ etc/common/mykshrc
@@ -28,6 +28,7 @@ export AUTOCONF_VERSION=2.72
 export AUTOMAKE_VERSION=1.16
 HISTFILE=$HOME/.ksh_history
 HISTSIZE=20000
+RPLAYFLAGS='--cache-secs=10 --stream-buffer-size=1048576'
 
 set -o emacs
 
@@ -64,6 +65,8 @@ if [ "$(uname)" = "OpenBSD" ]; then
 	set -A complete_rcctl_2 -- $(rcctl ls all)
 	set -A complete_vmctl_1 -- console create pause reload start status stop unpause wait
 	set -A complete_vmctl -- $(vmctl status | awk '!/NAME/{print $NF}')
+
+	export LIBCLANG_PATH="/usr/local/llvm16"
 fi
 
 if [ "$(uname)" = "OpenBSD" ] || [ "$(uname)" = "FreeBSD" ]; then
@@ -169,9 +172,13 @@ gse() {
 }
 
 rplay() {
-	AUDIODEVICE='snd@192.168.64.7/0' mpv "$@"
+	AUDIODEVICE='snd@192.168.64.7/0' mpv $RPLAYFLAGS "$@"
 }
 
+hplay() {
+	AUDIODEVICE='snd@192.168.178.59/0' mpv $RPLAYFLAGS "$@"
+}
+
 if [ "$TERM" = "xterm" ]; then
 	printf '\e[4?h'
 fi