play: increase format snoop buffer for better mp3 stream detection

This commit is contained in:
cinap_lenrek 2012-02-19 19:45:13 +01:00
parent 9e28bf1a63
commit e992808e49

View file

@ -23,7 +23,7 @@ fn sigexit {
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
}