调整alsa参数减小音频延时

This commit is contained in:
2025-05-13 11:12:24 +08:00
parent 11ea0a9c7f
commit 29bcccd5c9
3 changed files with 7 additions and 6 deletions

View File

@@ -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 {

View File

@@ -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 {