调整alsa参数减小音频延时
This commit is contained in:
@@ -118,7 +118,7 @@ pcm.PlaybackRateDmix {
|
||||
}
|
||||
@args.PERIODSIZE {
|
||||
type integer
|
||||
default 960 #1024
|
||||
default 256 #1024
|
||||
}
|
||||
type plug
|
||||
slave.pcm {
|
||||
@@ -135,7 +135,7 @@ pcm.PlaybackRateDmix {
|
||||
rate $SAMPLERATE
|
||||
channels $CHNNUM
|
||||
period_size $PERIODSIZE
|
||||
periods 8
|
||||
periods 4
|
||||
}
|
||||
}
|
||||
hooks.0 {
|
||||
|
||||
@@ -118,7 +118,7 @@ pcm.PlaybackRateDmix {
|
||||
}
|
||||
@args.PERIODSIZE {
|
||||
type integer
|
||||
default 960 #1024
|
||||
default 256 #1024
|
||||
}
|
||||
type plug
|
||||
slave.pcm {
|
||||
@@ -135,7 +135,7 @@ pcm.PlaybackRateDmix {
|
||||
rate $SAMPLERATE
|
||||
channels $CHNNUM
|
||||
period_size $PERIODSIZE
|
||||
periods 8
|
||||
periods 4
|
||||
}
|
||||
}
|
||||
hooks.0 {
|
||||
|
||||
Reference in New Issue
Block a user