play: increase format snoop buffer for better mp3 stream detection
This commit is contained in:
parent
9e28bf1a63
commit
e992808e49
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ fn sigexit {
|
||||||
fn play1 {
|
fn play1 {
|
||||||
if(~ $#* 0){
|
if(~ $#* 0){
|
||||||
tmp=(/tmp/play.$pid.$#tmp.tmp $tmp)
|
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
|
cat $tmp(1) /fd/0 | play1 `{file -m $tmp(1)} xxx
|
||||||
cleanup
|
cleanup
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue