git: 9front

Download patch

ref: 0e95b3af5f3ae3419a8a3ee2f88b10e38f0eb734
parent: 32f897e84b3b556bd126529340f3f93f843ab0f1
author: cinap_lenrek <cinap_lenrek@rei2.9hal>
date: Sun Feb 19 14:45:13 EST 2012

play: increase format snoop buffer for better mp3 stream detection

--- a/rc/bin/play
+++ b/rc/bin/play
@@ -23,7 +23,7 @@
 fn play1 {
 	if(~ $#* 0){
 		tmp=(/tmp/play.$pid.$#tmp.tmp $tmp)
-		dd -bs 1024 -count 1 >$tmp(1) >[2]/dev/null
+		dd -bs 8192 -count 1 >$tmp(1) >[2]/dev/null
 		cat $tmp(1) /fd/0 | play1 `{file -m $tmp(1)} xxx
 		cleanup
 	}
--