Commit 8d86b11
committed
ALSA: fix buffer size / period size configuration
With ALSA, the buffer size is `nperiod * period_size`.
We want 2 periods ideally.
The default is now set to 1024 samples which is a reasonable default,
yet still too large for real-time audio.
The default value now uses the same code path as custom values.
Fixes #9131 parent eb3d445 commit 8d86b11
1 file changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
| 1064 | + | |
| 1065 | + | |
1069 | 1066 | | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
| 1067 | + | |
| 1068 | + | |
1074 | 1069 | | |
1075 | | - | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
1076 | 1077 | | |
1077 | 1078 | | |
1078 | 1079 | | |
| |||
0 commit comments